1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-08 02:10:24 +00:00

update tests

This commit is contained in:
lian
2022-06-27 16:16:06 +08:00
parent ef6ffdce5b
commit 7122a554c8

View File

@@ -174,7 +174,7 @@ class FilesApiTest(ApiTestBase):
try: try:
url = urllib.request.urlopen(res.text.strip('"')) url = urllib.request.urlopen(res.text.strip('"'))
except Exception as e: except Exception as e:
assert 'Access token not found' in str(e) assert 'HTTP Error 403: Forbidden' in str(e)
# url = urllib.request.urlopen(res.text.strip('"')) # url = urllib.request.urlopen(res.text.strip('"'))
# code = url.getcode() # code = url.getcode()