Commit f550354f authored by Pierre Dittgen's avatar Pierre Dittgen

simplify code

parent c61facbe
Pipeline #114843 passed with stage
in 6 minutes and 52 seconds
......@@ -44,16 +44,13 @@ class FakeArgs(argparse.Namespace):
@pytest.mark.asyncio
async def process_resources_core(
base_dir: Path, resources: List[Resource], additional_args=None, on_event=None
target_dir: Path, resources: List[Resource], additional_args=None, on_event=None
):
"""Factorize code for test cases."""
def process_resource(resource: Resource):
pass
target_dir = base_dir / "process"
target_dir.mkdir()
try:
events = status.load_events(target_dir)
assert events is None
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment