aboutsummaryrefslogtreecommitdiff
path: root/wqflask/tests
diff options
context:
space:
mode:
authorBonfaceKilz2020-11-03 22:50:52 +0300
committerBonfaceKilz2020-11-03 22:50:52 +0300
commit3ca276a1e9d3aa29f037696b640c64b2d8629c7f (patch)
treef81908d3125e927e65c280d7ea86a4100d8a0b22 /wqflask/tests
parentbb46ab063cc86525946563c809a896532d87147a (diff)
downloadgenenetwork2-3ca276a1e9d3aa29f037696b640c64b2d8629c7f.tar.gz
Delete file
* wqflask/tests/integration/test_glossary.py: Delete it. Earlier renamed to test_markdown_routes.
Diffstat (limited to 'wqflask/tests')
-rw-r--r--wqflask/tests/integration/test_glossary.py28
1 files changed, 0 insertions, 28 deletions
diff --git a/wqflask/tests/integration/test_glossary.py b/wqflask/tests/integration/test_glossary.py
deleted file mode 100644
index c9f1e62a..00000000
--- a/wqflask/tests/integration/test_glossary.py
+++ /dev/null
@@ -1,28 +0,0 @@
-"Integration tests for glossary"
-import unittest
-
-from bs4 import BeautifulSoup
-
-from wqflask import app
-
-
-class TestGenMenu(unittest.TestCase):
- """Tests for glossary"""
-
- def setUp(self):
- self.app = app.test_client()
-
- def tearDown(self):
- pass
-
- def test_glossary_page(self):
- """Test that the glossary page is rendered properly"""
- response = self.app.get('/glossary', follow_redirects=True)
- html_content = BeautifulSoup(response.data, "lxml")
- self.assertEqual(html_content.find("title").get_text(),
- "Glossary GeneNetwork 2")
- self.assertEqual(
- html_content.find(
- 'p',
- attrs={'id': 'mytest'}).get_text(),
- "Test")