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 5158610 commit d7961a2Copy full SHA for d7961a2
mergin/test/test_client.py
@@ -10,6 +10,7 @@
10
import pytz
11
import sqlite3
12
import glob
13
+from urllib.error import HTTPError
14
15
from .. import InvalidProject
16
from ..client import (
@@ -2884,5 +2885,5 @@ def test_mc_without_login():
2884
2885
assert config["server_configured"]
2886
2887
# without login should not be able to access workspaces
- with pytest.raises(ClientError, match="The requested URL was not found on the server"):
2888
+ with pytest.raises(HTTPError):
2889
mc.workspaces_list()
0 commit comments