Debian Codegraph @

issue.features/steps/behave_hooks_steps.py

raw
1 # -*- coding: utf-8 -*-
2
3 from __future__ import absolute_import
4 from behave import then
5
6 @then('the behave hook "{hook}" was called')
7 def step_behave_hook_was_called(context, hook):
8 substeps = u'Then the command output should contain "hooks.{0}: "'.format(hook)
9 context.execute_steps(substeps)
10