mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
PY-85660 Allow quoted parameters in steps
Also fixes PY-86339, behave<=1.2.6 didn't have `clear` method in step registry, so a check for it was added for backwards compatibility. GitOrigin-RevId: ee5290cbff3833da471c0a8516441fd9d6a135bf
This commit is contained in:
committed by
intellij-monorepo-bot
parent
09aded1626
commit
432c6eb55e
@@ -122,9 +122,11 @@ class _RunnerWrapper(runner.Runner):
|
||||
self.hooks.clear()
|
||||
self.features = []
|
||||
if self.step_registry is None:
|
||||
the_step_registry.clear()
|
||||
if hasattr(the_step_registry, 'clear'):
|
||||
the_step_registry.clear()
|
||||
else:
|
||||
self.step_registry.clear()
|
||||
if hasattr(self.step_registry, 'clear'):
|
||||
self.step_registry.clear()
|
||||
|
||||
|
||||
class _BehaveRunner(_bdd_utils.BddRunner):
|
||||
|
||||
Reference in New Issue
Block a user