Skip to content

Commit 6a76320

Browse files
committed
fix variables for user passwords
1 parent f2ccb69 commit 6a76320

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mergin/test/test_client.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ def create_project_path(name, mc):
8686
def mc():
8787
assert SERVER_URL and SERVER_URL.rstrip("/") != "https://app.merginmaps.com"
8888

89-
if API_USER != "" and USER_PWD != "": # if API_USER and USER_PWD is provided we log in user and use him for tests
89+
if API_USER and USER_PWD: # if API_USER and USER_PWD is provided we log in user and use him for tests
9090
user = API_USER
9191
password = USER_PWD
9292

@@ -121,7 +121,7 @@ def mc():
121121
def mc2():
122122
assert SERVER_URL and SERVER_URL.rstrip("/") != "https://app.merginmaps.com"
123123

124-
if API_USER2 != "" and USER_PWD2 != "":
124+
if API_USER2 and USER_PWD2: # if API_USER2 and USER_PWD2 is provided we log in user and use him for tests
125125
user = API_USER2
126126
password = USER_PWD2
127127

0 commit comments

Comments
 (0)