[fix] test was bad, we don't want any conflicts

This commit is contained in:
Laurent Peuch 2018-08-06 01:22:43 +02:00
parent 73f9703756
commit 9a73e34c96

View file

@ -265,7 +265,7 @@ def domain_url_available(auth, domain, path):
path -- The path to check (e.g. /coffee) path -- The path to check (e.g. /coffee)
""" """
return bool(_get_conflicting_apps(auth, domain, path)) return len(_get_conflicting_apps(auth, domain, path)) == 0
def _get_maindomain(): def _get_maindomain():