From 57be120e8d967457dda8437dcc0df1535157ecea Mon Sep 17 00:00:00 2001 From: Christopher Bartz Date: Thu, 19 Sep 2024 17:30:16 +0200 Subject: [PATCH] fix test_runner_manager_openstack integration test --- tests/integration/test_runner_manager_openstack.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/tests/integration/test_runner_manager_openstack.py b/tests/integration/test_runner_manager_openstack.py index be7d324b..6e452cf0 100644 --- a/tests/integration/test_runner_manager_openstack.py +++ b/tests/integration/test_runner_manager_openstack.py @@ -31,7 +31,8 @@ from github_runner_manager.openstack_cloud.openstack_runner_manager import ( OpenStackCloudConfig, OpenStackRunnerManager, - OpenStackServerConfig, OpenStackRunnerManagerConfig, + OpenStackRunnerManagerConfig, + OpenStackServerConfig, ) from github_runner_manager.types_.github import GitHubPath, parse_github_path from openstack.connection import Connection as OpenstackConnection @@ -159,8 +160,8 @@ async def runner_manager_fixture( Import of log_dir_base_path to monkeypatch the runner logs path with tmp_path. """ - config = RunnerManagerConfig(token, github_path) - return RunnerManager("test_runner", openstack_runner_manager, config) + config = RunnerManagerConfig("test_runner", token, github_path) + return RunnerManager(openstack_runner_manager, config) @pytest_asyncio.fixture(scope="function", name="runner_manager_with_one_runner")