We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d7961a2 commit 82eb39dCopy full SHA for 82eb39d
mergin/test/test_client.py
@@ -10,7 +10,6 @@
10
import pytz
11
import sqlite3
12
import glob
13
-from urllib.error import HTTPError
14
15
from .. import InvalidProject
16
from ..client import (
@@ -2885,5 +2884,5 @@ def test_mc_without_login():
2885
2884
assert config["server_configured"]
2886
2887
# without login should not be able to access workspaces
2888
- with pytest.raises(HTTPError):
+ with pytest.raises(ClientError, match="Authentication information is missing or invalid."):
2889
mc.workspaces_list()
0 commit comments