Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
danielhollas committed Jan 24, 2024
1 parent 096cf8c commit fceb1c4
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -142,8 +142,9 @@ def instance(docker_client, profile):

def remove_extra_mounts():
for extra_mount in instance.profile.extra_mounts:
extra_volume, _, _ = instance.profile.parse_extra_mount(extra_mount)
docker_client.volumes.get(str(extra_volume)).remove()
extra_volume, _, _, mount_type = instance.profile.parse_extra_mount(extra_mount)
if mount_type == 'volume':
docker_client.volumes.get(str(extra_volume)).remove()

for op in (
instance.stop,
Expand Down

0 comments on commit fceb1c4

Please sign in to comment.