summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMiguel Jacq <mig@mig5.net>2019-09-03 12:00:23 +1000
committerMiguel Jacq <mig@mig5.net>2019-09-03 12:00:23 +1000
commit458a0fb1d0a1a04496b48a6a719b17acefa921c9 (patch)
treeb4ff0be152fd5bfc40e786afde8d2b5e9fe5a832 /tests
parentf4f7b984e53655b4f843c384822fd0e082c19a25 (diff)
downloadonionshare-458a0fb1d0a1a04496b48a6a719b17acefa921c9.tar.gz
onionshare-458a0fb1d0a1a04496b48a6a719b17acefa921c9.zip
Aww. Adjust the website test html code since my easter egg didn't work
Diffstat (limited to 'tests')
-rw-r--r--tests/GuiWebsiteTest.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/GuiWebsiteTest.py b/tests/GuiWebsiteTest.py
index e3d63547..6697c5b9 100644
--- a/tests/GuiWebsiteTest.py
+++ b/tests/GuiWebsiteTest.py
@@ -19,7 +19,7 @@ class GuiWebsiteTest(GuiShareTest):
'''Create GUI with given settings'''
# Create our test file
testfile = open('/tmp/index.html', 'w')
- testfile.write('<html><blink>This is a test website hosted by OnionShare</blink></html>')
+ testfile.write('<html><body><p>This is a test website hosted by OnionShare</p></body></html>')
testfile.close()
common = Common()
@@ -64,7 +64,7 @@ class GuiWebsiteTest(GuiShareTest):
r = requests.get(url, auth=requests.auth.HTTPBasicAuth('onionshare', self.gui.website_mode.server_status.web.password))
QtTest.QTest.qWait(2000)
- self.assertTrue('<blink>This is a test website hosted by OnionShare</blink>' in r.text)
+ self.assertTrue('This is a test website hosted by OnionShare' in r.text)
def run_all_website_mode_setup_tests(self):
"""Tests in website mode prior to starting a share"""