mirror of
https://github.com/onionshare/onionshare.git
synced 2025-08-03 20:04:14 -04:00
Updates the tests to use a full path instead of basename
This commit is contained in:
parent
b696b427fd
commit
460c25f0f3
1 changed files with 1 additions and 1 deletions
|
@ -99,7 +99,7 @@ class TestShare(GuiBaseTest):
|
||||||
self.assertEqual(r.status_code, 404)
|
self.assertEqual(r.status_code, 404)
|
||||||
self.download_share(tab)
|
self.download_share(tab)
|
||||||
else:
|
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)
|
r = requests.get(download_file_url)
|
||||||
|
|
||||||
tmp_file = tempfile.NamedTemporaryFile("wb", delete=False)
|
tmp_file = tempfile.NamedTemporaryFile("wb", delete=False)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue