kopia lustrzana https://github.com/jupyterhub/repo2docker
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.cipull/1421/head
rodzic
c04652e706
commit
c9b78be470
|
@ -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()
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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:
|
||||
|
|
Ładowanie…
Reference in New Issue