remove unused test

This commit is contained in:
Muayyad alsadi 2022-03-08 10:47:16 +03:00
parent a735aa5b96
commit 3b7bf81051
2 changed files with 3 additions and 20 deletions

View File

@ -1,20 +0,0 @@
import pytest
from podman_compose import parse_short_mount
@pytest.fixture
def multi_propagation_mount_str():
return "/foo/bar:/baz:U,Z"
def test_parse_short_mount_multi_propagation(multi_propagation_mount_str):
expected = {
"type": "bind",
"source": "/foo/bar",
"target": "/baz",
"bind": {
"propagation": "U,Z",
},
}
assert parse_short_mount(multi_propagation_mount_str, "/") == expected

View File

@ -4,6 +4,7 @@ services:
image: busybox
command: ["/bin/busybox", "httpd", "-f", "-h", "/var/www/html", "-p", "8000"]
working_dir: /var/www/html
restart: always
volumes:
- /var/www/html
tmpfs:
@ -12,6 +13,7 @@ services:
web1:
image: busybox
command: ["/bin/busybox", "httpd", "-f", "-h", "/var/www/html", "-p", "8001"]
restart: unless-stopped
working_dir: /var/www/html
volumes:
- myvol1:/var/www/html:ro,z
@ -32,6 +34,7 @@ services:
- data3:/var/www/html_data3
volumes:
myvol1:
myvol2:
labels:
mylabel: myval