File: issue0171.feature

package info (click to toggle)
behave 1.2.6-6
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 4,160 kB
  • sloc: python: 19,857; makefile: 137; sh: 18
file content (16 lines) | stat: -rw-r--r-- 585 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
@issue
Feature: Issue #171: Importing step from other step file fails with AmbiguousStep Error

  . When a step module imports another step module
  . this should not cause AmbiguousStep errors
  . due to duplicated registration of the same step functions.
  .
  . NOTES:
  .   * In general you should avoid this case (provided as example here).


  @reuse.colocated_test
  Scenario: Step module imports other step module
    Given I use the current directory as working directory
    When I run "behave -f plain features/step.import_other_step_module.feature"
    Then it should pass