Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Feb 28, 2025
1 parent c294236 commit ebeb4c9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
6 changes: 4 additions & 2 deletions tests/norun/test_registry.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,8 +121,10 @@ def test_registry(registry, dind):
os.environ["DOCKER_TLS_VERIFY"] = "1"
r2d.start()

proc = subprocess.run(["docker", "manifest", "inspect", "--insecure", image_name])
proc = subprocess.run(
["docker", "manifest", "inspect", "--insecure", image_name]
)
assert proc.returncode == 0
finally:
os.environ.clear()
os.environ.update(old_environ)
os.environ.update(old_environ)
1 change: 0 additions & 1 deletion tests/unit/test_argumentvalidation.py
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,6 @@ def test_invalid_container_port_protocol_mapping_fail(temp_cwd):
assert not validate_arguments(builddir, args_list, "Port specification")



def test_docker_no_build_success(temp_cwd):
"""
Test to check if r2d succeeds with --no-build argument with not being able to connect to docker daemon
Expand Down

0 comments on commit ebeb4c9

Please sign in to comment.