Updates the tests to use a full path instead of basename

This commit is contained in:
Saptak S 2021-08-28 17:33:16 +05:30
parent 3620bf3a0c
commit e488085116
No known key found for this signature in database
GPG Key ID: 2D9B32E54C68A3FB

View File

@ -99,7 +99,7 @@ class TestShare(GuiBaseTest):
self.assertEqual(r.status_code, 404)
self.download_share(tab)
else:
self.assertTrue('a href="test.txt"' in r.text)
self.assertTrue('a href="/test.txt"' in r.text)
r = requests.get(download_file_url)
tmp_file = tempfile.NamedTemporaryFile("wb", delete=False)