Don't pass --no-run to find tests

pull/1421/head
YuviPanda 2025-02-28 14:28:21 -08:00
rodzic 081c3c48cf
commit 56cf063636
1 zmienionych plików z 3 dodań i 3 usunięć

Wyświetl plik

@ -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()