Skip to content
Snippets Groups Projects
Verified Commit a75a5039 authored by Antoine Lambert's avatar Antoine Lambert
Browse files

tests: Fix flake8 warning

parent e5bf1897
No related branches found
No related tags found
1 merge request!543Apply swh-py-template v0.3.3 with copier
......@@ -342,7 +342,7 @@ def assert_task_and_visit_type_match(tasks_module_name: str) -> None:
visit_type = loader_cls.visit_type
task_function_name = f"load_{visit_type.replace('-', '_')}"
assert task_function_name in task_names, (
f"task function {task_function_name} for visit type {visit_type } "
f"task function {task_function_name} for visit type {visit_type} "
f"is missing in {tasks_module_name}"
)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment