[pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci
pull/1421/head
pre-commit-ci[bot] 2025-02-28 21:12:02 +00:00
rodzic c04652e706
commit c9b78be470
3 zmienionych plików z 3 dodań i 2 usunięć

Wyświetl plik

@ -20,4 +20,4 @@ def test_dont_find_image():
r2d = make_r2d(["--image", image_name, "--no-run", str(HERE)])
# Just don't actually start the build, so image won't be found
assert not r2d.find_image()
assert not r2d.find_image()

Wyświetl plik

@ -116,4 +116,4 @@ def test_registry(registry, dind):
r2d.start()
proc = subprocess.run(["docker", "manifest", "inspect", "--insecure", image_name])
assert proc.returncode == 0
assert proc.returncode == 0

Wyświetl plik

@ -10,6 +10,7 @@ from repo2docker.__main__ import make_r2d
from repo2docker.app import Repo2Docker
from repo2docker.utils import chdir
def test_image_name_remains_unchanged():
# if we specify an image name, it should remain unmodified
with TemporaryDirectory() as src: