Skip to content

Commit

Permalink
aloe: syntax typo
Browse files Browse the repository at this point in the history
  • Loading branch information
aahunter committed Nov 8, 2016
1 parent 66d2e94 commit caff0d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rdrf/rdrf/features/terrain.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ def after_scenario(scenario, outline, test_steps):
@after.each_step
def screenshot_step(step):
if not step.passed and getattr(step, "scenario", None) is not None:
step_name = "%s_%s" % (step.scenario.name, step.sentance)
step_name = "%s_%s" % (step.scenario.name, step.sentence)
step_name = step_name.replace(" ", "")
file_name = os.path.join(settings.WRITABLE_DIRECTORY, "FAIL-step-{0}.png".format(step_name))
world.browser.get_screenshot_as_file(file_name)

0 comments on commit caff0d5

Please sign in to comment.