mirror of
https://github.com/onionshare/onionshare.git
synced 2024-10-01 01:35:40 -04:00
Updates the tests to use a full path instead of basename
This commit is contained in:
parent
3620bf3a0c
commit
e488085116
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user