| 1 |
@issue |
| 2 |
Feature: Issue #171: Importing step from other step file fails with AmbiguousStep Error |
| 3 |
|
| 4 |
. When a step module imports another step module |
| 5 |
. this should not cause AmbiguousStep errors |
| 6 |
. due to duplicated registration of the same step functions. |
| 7 |
. |
| 8 |
. NOTES: |
| 9 |
. * In general you should avoid this case (provided as example here). |
| 10 |
|
| 11 |
|
| 12 |
@reuse.colocated_test |
| 13 |
Scenario: Step module imports other step module |
| 14 |
Given I use the current directory as working directory |
| 15 |
When I run "behave -f plain features/step.import_other_step_module.feature" |
| 16 |
Then it should pass |