mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-08 02:10:24 +00:00
update tests
This commit is contained in:
@@ -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()
|
||||||
|
Reference in New Issue
Block a user