diff --git a/tests/conftest.py b/tests/conftest.py index 9046f7c..68e5dcd 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -113,6 +113,8 @@ def collect(self): extra_args = yaml.safe_load(extra_args_path.read_text()) args += extra_args + # Avoid overly long image names + args.append("--image-name=" + "-".join(self.path.parent.parts[-3:])) args.append(str(self.path.parent)) yield Repo2DockerTest.from_parent(self, name="build", args=args)