Skip to content

Commit

Permalink
FIX: py3 regression
Browse files Browse the repository at this point in the history
  • Loading branch information
jenisys committed Oct 29, 2016
1 parent f5c84fa commit d518fc4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions behave/_stepimport.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ class StepRegistryModule(FakeModule):
]

def __init__(self, step_registry):
super(StepRegistryModule, self).__init__()
super(StepRegistryModule, self).__init__("behave.step_registry")
self.registry = step_registry
setup_api_with_step_decorators(self, step_registry)

Expand All @@ -63,7 +63,7 @@ class StepMatchersModule(FakeModule):
__all__ = ["use_step_matcher", "register_type", "step_matcher"]

def __init__(self, matcher_factory):
super(StepMatchersModule, self).__init__()
super(StepMatchersModule, self).__init__("behave.matchers")
self.matcher_factory = matcher_factory
setup_api_with_matcher_functions(self, matcher_factory)
self.use_default_step_matcher = matcher_factory.use_default_step_matcher
Expand Down Expand Up @@ -103,7 +103,7 @@ def __init__(self, step_registry, matcher_factory=None):
if matcher_factory is None:
matcher_factory = step_registry.step_matcher_factory
assert matcher_factory is not None
super(BehaveModule, self).__init__()
super(BehaveModule, self).__init__("behave")
setup_api_with_step_decorators(self, step_registry)
setup_api_with_matcher_functions(self, matcher_factory)
self.use_default_step_matcher = matcher_factory.use_default_step_matcher
Expand Down

0 comments on commit d518fc4

Please sign in to comment.