From 76ad8f023dfabb25e93f771e44164b06004cd7a4 Mon Sep 17 00:00:00 2001 From: Denis Costa Date: Wed, 30 Nov 2016 22:20:23 -0200 Subject: Removes unused function See: https://github.com/pixelated/project-issues/issues/381 --- service/test/functional/features/steps/common.py | 5 ----- 1 file changed, 5 deletions(-) (limited to 'service/test') diff --git a/service/test/functional/features/steps/common.py b/service/test/functional/features/steps/common.py index 2fd2ec4f..f2cab1a6 100644 --- a/service/test/functional/features/steps/common.py +++ b/service/test/functional/features/steps/common.py @@ -91,11 +91,6 @@ def take_screenshot(context, filename): context.browser.save_screenshot(filename) -def dump_source_to(context, filename): - with open(filename, 'w') as out: - out.write(context.browser.page_source.encode('utf8')) - - def page_has_css(context, css): try: find_element_by_css_selector(context, css) -- cgit v1.2.3