Skip to content

Commit d7961a2

Browse files
committed
change error
1 parent 5158610 commit d7961a2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

mergin/test/test_client.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
import pytz
1111
import sqlite3
1212
import glob
13+
from urllib.error import HTTPError
1314

1415
from .. import InvalidProject
1516
from ..client import (
@@ -2884,5 +2885,5 @@ def test_mc_without_login():
28842885
assert config["server_configured"]
28852886

28862887
# without login should not be able to access workspaces
2887-
with pytest.raises(ClientError, match="The requested URL was not found on the server"):
2888+
with pytest.raises(HTTPError):
28882889
mc.workspaces_list()

0 commit comments

Comments
 (0)