mirror of
https://github.com/arsvendg/Stirling-PDF.git
synced 2026-07-16 19:33:11 +02:00
cucumber for days (#5766)
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
"""
|
||||
Re-export all step definitions so that `behave features/enterprise/` works
|
||||
as a standalone run without needing to reference the parent steps directory.
|
||||
|
||||
When running the default suite (`behave` from testing/cucumber/), these
|
||||
enterprise features are excluded via behave.ini. When running enterprise
|
||||
tests explicitly (`python -m behave features/enterprise`), Behave loads
|
||||
steps only from this directory, so we import the parent implementations here.
|
||||
"""
|
||||
|
||||
import os
|
||||
import sys
|
||||
|
||||
# Make the parent steps/ directory importable
|
||||
_parent_steps = os.path.abspath(os.path.join(os.path.dirname(__file__), "../../steps"))
|
||||
if _parent_steps not in sys.path:
|
||||
sys.path.insert(0, _parent_steps)
|
||||
|
||||
from step_definitions import * # noqa: F401, F403
|
||||
from auth_step_definitions import * # noqa: F401, F403
|
||||
from enterprise_step_definitions import * # noqa: F401, F403
|
||||
Reference in New Issue
Block a user