mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-03 07:55:36 +00:00
update tests
This commit is contained in:
@@ -174,7 +174,7 @@ class FilesApiTest(ApiTestBase):
|
||||
try:
|
||||
url = urllib.request.urlopen(res.text.strip('"'))
|
||||
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('"'))
|
||||
# code = url.getcode()
|
||||
|
Reference in New Issue
Block a user