diff options
| author | sommerfeld <sommerfeld@sommerfeld.dev> | 2026-09-18 16:39:53 +0100 |
|---|---|---|
| committer | sommerfeld <sommerfeld@sommerfeld.dev> | 2026-09-18 16:39:53 +0100 |
| commit | d0ae1b28061f7e49358b34135c4c8f2cb81f08b8 (patch) | |
| tree | 2066119d5d8d4bd1a3b031aa09bf52145c3c9464 /tests/test_canonical.py | |
| parent | dd9db8b366ae5f2617fe8e8e474cea09eebe55d6 (diff) | |
| download | dotfiles-d0ae1b28061f7e49358b34135c4c8f2cb81f08b8.tar.gz dotfiles-d0ae1b28061f7e49358b34135c4c8f2cb81f08b8.tar.bz2 dotfiles-d0ae1b28061f7e49358b34135c4c8f2cb81f08b8.zip | |
Deploy Podman API units for every machine role
Diffstat (limited to 'tests/test_canonical.py')
| -rw-r--r-- | tests/test_canonical.py | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/test_canonical.py b/tests/test_canonical.py index 14b7a3c..c68bd48 100644 --- a/tests/test_canonical.py +++ b/tests/test_canonical.py @@ -138,6 +138,15 @@ class RoleTests(unittest.TestCase): *args, ] + def test_podman_units_are_managed_for_all_roles(self): + for role in ["host", "vm", "canonical"]: + with self.subTest(role=role): + files = subprocess.check_output( + self.command(role, "managed", "--include=files"), text=True + ).splitlines() + for unit in ["podman.socket", "podman.service"]: + self.assertIn(f".config/systemd/user/{unit}", files) + def test_canonical_file_boundary(self): files = subprocess.check_output( self.command("canonical", "managed", "--include=files,scripts,symlinks"), |
