Linter fixes

This commit is contained in:
theo@manjaro 2022-07-15 16:57:12 +02:00
parent e21c114b70
commit 129f5cce95
2 changed files with 4 additions and 4 deletions

View file

@ -73,8 +73,8 @@ def test_domain_add():
def test_domain_add_subscribe():
time.sleep(35) # Dynette blocks requests that happen too frequently
time.sleep(35) # Dynette blocks requests that happen too frequently
assert TEST_DYNDNS_DOMAIN not in domain_list()["domains"]
domain_add(TEST_DYNDNS_DOMAIN, subscribe=TEST_DYNDNS_PASSWORD)
assert TEST_DYNDNS_DOMAIN in domain_list()["domains"]
@ -94,7 +94,7 @@ def test_domain_remove():
def test_domain_remove_unsubscribe():
time.sleep(35) # Dynette blocks requests that happen too frequently
time.sleep(35) # Dynette blocks requests that happen too frequently
assert TEST_DYNDNS_DOMAIN in domain_list()["domains"]
domain_remove(TEST_DYNDNS_DOMAIN, unsubscribe=TEST_DYNDNS_PASSWORD)
assert TEST_DYNDNS_DOMAIN not in domain_list()["domains"]

View file

@ -180,7 +180,7 @@ def _detect_virt():
return out.split()[0]
@is_unit_operation(exclude=["subscribe","password"])
@is_unit_operation(exclude=["subscribe", "password"])
def tools_postinstall(
operation_logger,
domain,