Not sure what I'm doing but for some reason can't remove yolo.test anymore because it's the main domain during tests idk

This commit is contained in:
Alexandre Aubin 2021-04-03 00:30:44 +02:00
parent 72eb0b2e49
commit 037a2a66a4

View file

@ -107,7 +107,8 @@ def teardown_function(function):
if "with_custom_domain" in markers: if "with_custom_domain" in markers:
domain = markers["with_custom_domain"]["args"][0] domain = markers["with_custom_domain"]["args"][0]
domain_remove(domain) if domain != maindomain:
domain_remove(domain)
@pytest.fixture(autouse=True) @pytest.fixture(autouse=True)