diff --git a/testinfra/modules/service.py b/testinfra/modules/service.py index 413b2433..9a3d704a 100644 --- a/testinfra/modules/service.py +++ b/testinfra/modules/service.py @@ -176,7 +176,7 @@ def _has_systemd_suffix(self): @property def exists(self): - cmd = self.run_test('systemctl list-unit-files | grep -q"^%s"', self.name) + cmd = self.run_test('systemctl list-unit-files | grep -q "^%s"', self.name) return cmd.rc == 0 @property