Hanna Arhipova | 94a8abe | 2019-08-22 14:11:46 +0300 | [diff] [blame] | 1 | import pytest |
| 2 | |
| 3 | from tcp_tests import logger |
| 4 | from tcp_tests.managers import reclass_manager |
| 5 | |
| 6 | LOG = logger.logger |
| 7 | |
| 8 | |
Hanna Arhipova | 1942996 | 2019-10-17 15:16:49 +0300 | [diff] [blame^] | 9 | @pytest.fixture(scope='session') |
Hanna Arhipova | 94a8abe | 2019-08-22 14:11:46 +0300 | [diff] [blame] | 10 | def reclass_actions(config, underlay_actions): |
| 11 | """Fixture that provides various actions for salt |
| 12 | |
| 13 | :param config: fixture provides oslo.config |
| 14 | :param underlay_actions: fixture provides underlay manager |
| 15 | :rtype: ReclassManager |
| 16 | """ |
| 17 | return reclass_manager.ReclassManager(config, underlay_actions) |