Skip to content

Commit 9a052a3

Browse files
author
Andrei Neagu
committed
refactor tests
1 parent 812008d commit 9a052a3

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

services/agent/tests/unit/test_services_backup.py

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -50,12 +50,7 @@ async def mock_container_with_data(
5050
config={
5151
"Image": "alpine:latest",
5252
"Cmd": ["/bin/ash", "-c", "sleep 10000"],
53-
"HostConfig": {
54-
"Binds": [
55-
f"{volume_content}:{volume_content}:rw",
56-
"/var/run/docker.sock:/var/run/docker.sock:rw",
57-
]
58-
},
53+
"HostConfig": {"Binds": [f"{volume_content}:{volume_content}:rw"]},
5954
}
6055
)
6156
container_inspect = await container.show()

0 commit comments

Comments
 (0)