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 b696b427fd
commit 460c25f0f3

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)