We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f2ccb69 commit 6a76320Copy full SHA for 6a76320
1 file changed
mergin/test/test_client.py
@@ -86,7 +86,7 @@ def create_project_path(name, mc):
86
def mc():
87
assert SERVER_URL and SERVER_URL.rstrip("/") != "https://app.merginmaps.com"
88
89
- if API_USER != "" and USER_PWD != "": # if API_USER and USER_PWD is provided we log in user and use him for tests
+ if API_USER and USER_PWD: # if API_USER and USER_PWD is provided we log in user and use him for tests
90
user = API_USER
91
password = USER_PWD
92
@@ -121,7 +121,7 @@ def mc():
121
def mc2():
122
123
124
- if API_USER2 != "" and USER_PWD2 != "":
+ if API_USER2 and USER_PWD2: # if API_USER2 and USER_PWD2 is provided we log in user and use him for tests
125
user = API_USER2
126
password = USER_PWD2
127
0 commit comments