mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
Linter fixes
This commit is contained in:
parent
e21c114b70
commit
129f5cce95
2 changed files with 4 additions and 4 deletions
|
@ -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"]
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Add table
Reference in a new issue