forked from extern/podman-compose
remove unused test
This commit is contained in:
parent
a735aa5b96
commit
3b7bf81051
@ -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
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user