mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-08-29 23:08:06 +02:00
Solved timer bug
This commit is contained in:
@@ -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):
|
||||
|
Reference in New Issue
Block a user