aboutsummaryrefslogtreecommitdiffstats
path: root/packaging-tools/tests/test_release_repo_updater.py
diff options
context:
space:
mode:
Diffstat (limited to 'packaging-tools/tests/test_release_repo_updater.py')
-rwxr-xr-xpackaging-tools/tests/test_release_repo_updater.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/packaging-tools/tests/test_release_repo_updater.py b/packaging-tools/tests/test_release_repo_updater.py
index bd865cd5e..77bf9c669 100755
--- a/packaging-tools/tests/test_release_repo_updater.py
+++ b/packaging-tools/tests/test_release_repo_updater.py
@@ -222,16 +222,16 @@ class TestReleaseRepoUpdater(unittest.TestCase):
config.read_string(sample_config)
# parse all tasks i.e. no filters
- tasks = parse_data(config, task_type=TaskType.IFW_TASK_TYPE, task_filters=[])
+ tasks = parse_data(config, task_types=[TaskType.IFW_TASK_TYPE], task_filters=[])
await build_online_repositories(
- tasks=cast(List[IFWReleaseTask], tasks),
+ tasks=cast(List[IFWReleaseTask], tasks[TaskType.IFW_TASK_TYPE]),
license_="opensource",
installer_config_base_dir="foo",
artifact_share_base_url="foo",
ifw_tools="foo",
build_repositories=False,
)
- task = cast(IFWReleaseTask, tasks.pop())
+ task = cast(IFWReleaseTask, tasks[TaskType.IFW_TASK_TYPE].pop())
self.assertTrue(task.source_online_repository_path.endswith("foo/bar/path_1/online_repository"))
@asyncio_test