diff options
author | Micah Lee <micah@micahflee.com> | 2021-09-09 16:52:25 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-09 16:52:25 -0700 |
commit | bb1b3ad157857a54c728b85038e94c386ee15f44 (patch) | |
tree | a86c37d064c481d903376b1e76254be9b61121d5 /desktop | |
parent | 464a345d453554c12726b7969cb03cb9768af55d (diff) | |
parent | 6edab6877a9591a7fff7cf74607298f0d3730986 (diff) | |
download | onionshare-bb1b3ad157857a54c728b85038e94c386ee15f44.tar.gz onionshare-bb1b3ad157857a54c728b85038e94c386ee15f44.zip |
Merge pull request #1406 from SaptakS/fix-filelisting
Fixes directory listing in send mode
Diffstat (limited to 'desktop')
-rw-r--r-- | desktop/tests/test_gui_share.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/desktop/tests/test_gui_share.py b/desktop/tests/test_gui_share.py index d3536569..2cc48d17 100644 --- a/desktop/tests/test_gui_share.py +++ b/desktop/tests/test_gui_share.py @@ -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) |