1
0
Fork 0
mirror of https://github.com/YunoHost/yunohost.git synced 2025-09-23 00:38:32 +02:00

Force remove domain

This commit is contained in:
Josué Tille 2019-12-30 00:02:57 +01:00 committed by Alexandre Aubin
commit edd6074025

View file

@ -109,7 +109,7 @@ def secondary_domain(request):
domain_add("example.test")
def remove_example_domain():
domain_remove("example.test")
domain_remove("example.test", force=True)
request.addfinalizer(remove_example_domain)
return "example.test"