diff --git a/tests/norun/test_find.py b/tests/norun/test_find.py index 6d02631d..4b8d2bd1 100644 --- a/tests/norun/test_find.py +++ b/tests/norun/test_find.py @@ -8,16 +8,16 @@ HERE = Path(__file__).parent def test_find_image(): image_name = f"{secrets.token_hex(8)}:latest" - r2d = make_r2d(["--image", image_name, "--no-run", str(HERE)]) + r2d = make_r2d(["--image", image_name, str(HERE)]) - r2d.start() + r2d.build() assert r2d.find_image() def test_dont_find_image(): image_name = f"{secrets.token_hex(8)}:latest" - r2d = make_r2d(["--image", image_name, "--no-run", str(HERE)]) + r2d = make_r2d(["--image", image_name, str(HERE)]) # Just don't actually start the build, so image won't be found assert not r2d.find_image()