Skip to content

Commit 3f3a262

Browse files
committed
tests: format Compose volume test
1 parent ec2a5fb commit 3f3a262

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

tests/test_compose_generation.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,7 @@ def test_compose_has_network_section(tmp_path):
2828

2929

3030
def test_compose_preserves_named_volume(tmp_path):
31-
(tmp_path / "run").write_text(
32-
"docker run --name node1 -v CU:/out1 concore/py &"
33-
)
31+
(tmp_path / "run").write_text("docker run --name node1 -v CU:/out1 concore/py &")
3432
path = _write_docker_compose(tmp_path, Console(quiet=True))
3533
content = path.read_text()
3634
assert " CU:\n name: 'CU'" in content

0 commit comments

Comments
 (0)