Skip to content

Commit 752ccaf

Browse files
ihorsokhanexoftantkryt
authored andcommitted
removed assert for duplicated redirect as it'll be handled by angular
1 parent 49ec2d1 commit 752ccaf

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

addons/osfstorage/tests/test_views.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1423,8 +1423,6 @@ def test_file_views(self):
14231423
res = self.app.get(url, auth=self.user.auth)
14241424
assert res.status_code == 302
14251425
assert res.headers['Location'] == f'{settings.DOMAIN}{file.get_guid()._id}/'
1426-
res = self.app.get(url, auth=self.user.auth, follow_redirects=True)
1427-
assert res.status_code == 200
14281426

14291427
def test_download_file(self):
14301428
file = create_test_file(target=self.node, user=self.user)

0 commit comments

Comments
 (0)