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/1413/head
rodzic
07ef92ecbd
commit
bd615901cb
|
@ -80,11 +80,11 @@ def test_local_dir_image_name(repo_with_content):
|
|||
|
||||
def test_extra_buildx_build_args(repo_with_content):
|
||||
upstream, sha1 = repo_with_content
|
||||
argv = ['--DockerEngine.extra_buildx_build_args=--check', upstream]
|
||||
argv = ["--DockerEngine.extra_buildx_build_args=--check", upstream]
|
||||
app = make_r2d(argv)
|
||||
with patch("repo2docker.docker.execute_cmd") as execute_cmd:
|
||||
app.build()
|
||||
|
||||
|
||||
args, kwargs = execute_cmd.call_args
|
||||
cmd = args[0]
|
||||
assert cmd[:3] == ["docker", "buildx", "build"]
|
||||
|
|
Ładowanie…
Reference in New Issue