Skip to content

Commit 53a3380

Browse files
committed
fix test
1 parent e428182 commit 53a3380

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

mergin/test/test_client.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2888,8 +2888,7 @@ def test_mc_without_login():
28882888
with pytest.raises(ClientError) as e:
28892889
mc.workspaces_list()
28902890

2891-
assert e.value.http_error == 401
2892-
assert e.value.detail == '"Authentication information is missing or invalid."\n'
2891+
assert e.value.detail == "Missing login or password"
28932892

28942893

28952894
def test_do_request_error_handling(mc: MerginClient):

0 commit comments

Comments
 (0)