Solved timer bug

This commit is contained in:
2025-08-19 00:33:00 +02:00
parent fc4df980c5
commit 73b7d2728e
2 changed files with 3 additions and 3 deletions

View File

@@ -8,10 +8,10 @@ class TestGetServiceName(unittest.TestCase):
"sys-ctl-cln-backups.nginx.service"
)
def test_default_suffix_timer(self):
def test_default_suffix(self):
self.assertEqual(
get_service_name.get_service_name("sys-ctl-bkp@", "postgres"),
"sys-ctl-bkp.postgres@.timer"
"sys-ctl-bkp.postgres@.service"
)
def test_explicit_custom_suffix(self):