Debian Codegraph @

tests/unit/test_volumes.py

raw symbols SCIP
1 # SPDX-License-Identifier: GPL-2.0
2 # pylint: disable=redefined-outer-name
3 import unittest
4
5 from podman_compose import parse_short_mount
6
7
8 class ParseShortMountTests(unittest.TestCase):
9 def test_multi_propagation(self) -> None:
10 self.assertEqual(
11 parse_short_mount("/foo/bar:/baz:U,Z", "/"),
12 {
13 "type": "bind",
14 "source": "/foo/bar",
15 "target": "/baz",
16 "bind": {
17 "propagation": "U,Z",
18 },
19 },
20 )