summaryrefslogtreecommitdiff
path: root/desktop/tests/test_gui_share.py
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/tests/test_gui_share.py')
-rw-r--r--desktop/tests/test_gui_share.py2
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)