test(backups): make dummy service more compliant

pull/35/head
Houkime 2023-06-14 11:55:46 +00:00
parent aa9d082adc
commit 21791f20a2
1 changed files with 2 additions and 2 deletions

View File

@ -42,7 +42,7 @@ class DummyService(Service):
@staticmethod
def get_url() -> typing.Optional[str]:
"""Return service url."""
domain = get_domain()
domain = "test.com"
return f"https://password.{domain}"
@staticmethod
@ -68,7 +68,7 @@ class DummyService(Service):
Return code 3 means service is stopped.
Return code 4 means service is off.
"""
return 0
return ServiceStatus.ACTIVE
@staticmethod
def enable():