Skip to content

Commit

Permalink
fix test_runner_manager_openstack integration test
Browse files Browse the repository at this point in the history
  • Loading branch information
cbartz committed Sep 19, 2024
1 parent 5bf027f commit 57be120
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions tests/integration/test_runner_manager_openstack.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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")
Expand Down

0 comments on commit 57be120

Please sign in to comment.