Run 3rd-party test suites without excess dependences
- each test method is parametrized with ENV_NAME to
get unique names in JUnit reports for different
configurations
Change-Id: I8db671d1687f287dc8ca97782cd7bbdf0eaef988
diff --git a/tcp_tests/fixtures/drivetrain_fixtures.py b/tcp_tests/fixtures/drivetrain_fixtures.py
index e0e709b..0e8cbed 100644
--- a/tcp_tests/fixtures/drivetrain_fixtures.py
+++ b/tcp_tests/fixtures/drivetrain_fixtures.py
@@ -22,14 +22,15 @@
@pytest.fixture(scope='function')
-def drivetrain_actions(config, underlay, salt_actions):
+def drivetrain_actions(config, underlay_actions, salt_actions):
"""Fixture that provides various actions for Drivetrain
:param config: fixture provides oslo.config
:param underlay: fixture provides underlay manager
:rtype: DrivetrainManager
"""
- return drivetrain_manager.DrivetrainManager(config, underlay, salt_actions)
+ return drivetrain_manager.DrivetrainManager(config, underlay_actions,
+ salt_actions)
@pytest.mark.revert_snapshot(ext.SNAPSHOT.drivetrain_deployed)