mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
[tests] Fix some issues with maindomain changing sometimes
This commit is contained in:
parent
f93aa40c2e
commit
96a6e370a3
1 changed files with 4 additions and 1 deletions
|
@ -15,7 +15,7 @@ from yunohost.domain import _get_maindomain
|
|||
from moulinette.core import MoulinetteError
|
||||
|
||||
# Get main domain
|
||||
maindomain = _get_maindomain()
|
||||
maindomain = ""
|
||||
|
||||
# Instantiate LDAP Authenticator
|
||||
AUTH_IDENTIFIER = ('ldap', 'ldap-anonymous')
|
||||
|
@ -24,6 +24,9 @@ auth = None
|
|||
|
||||
def setup_function(function):
|
||||
|
||||
global maindomain
|
||||
maindomain = _get_maindomain()
|
||||
|
||||
print ""
|
||||
|
||||
global auth
|
||||
|
|
Loading…
Add table
Reference in a new issue