Commit fda44422 by Jay Zoldak

Merge pull request #62 from edx/zoldak/turn-off-lettuce-screenshot-on-failure

Turn off automatic snapshot to tmp dir on lettuce failure
parents c790d626 59b26a79
...@@ -87,8 +87,8 @@ def reset_data(scenario): ...@@ -87,8 +87,8 @@ def reset_data(scenario):
LOGGER.debug("Flushing the test database...") LOGGER.debug("Flushing the test database...")
call_command('flush', interactive=False) call_command('flush', interactive=False)
# Uncomment below to trigger a screenshot on error
@after.each_scenario # @after.each_scenario
def screenshot_on_error(scenario): def screenshot_on_error(scenario):
""" """
Save a screenshot to help with debugging. Save a screenshot to help with debugging.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment