aboutsummaryrefslogtreecommitdiff
path: root/wqflask/tests/unit
diff options
context:
space:
mode:
authorBonfaceKilz2020-11-04 18:04:48 +0300
committerBonfaceKilz2020-11-04 18:04:48 +0300
commitfa852e4a293735215e10bff9198c812fb85912ce (patch)
treeaf1cd578c4e4beaa6fbed7e4f2a13ab5c6259823 /wqflask/tests/unit
parent92dbf80bb45e66a93be6fea0fc0a82644cdbb326 (diff)
downloadgenenetwork2-fa852e4a293735215e10bff9198c812fb85912ce.tar.gz
Update test_markdown_routes
* wqflask/tests/unit/wqflask/test_markdown_routes.py (test_render_markdown_when_fetching_locally): Fix failing test.
Diffstat (limited to 'wqflask/tests/unit')
-rw-r--r--wqflask/tests/unit/wqflask/test_markdown_routes.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/wqflask/tests/unit/wqflask/test_markdown_routes.py b/wqflask/tests/unit/wqflask/test_markdown_routes.py
index 3de14276..3adf63e5 100644
--- a/wqflask/tests/unit/wqflask/test_markdown_routes.py
+++ b/wqflask/tests/unit/wqflask/test_markdown_routes.py
@@ -38,8 +38,8 @@ class TestMarkdownRoutesFunctions(unittest.TestCase):
"/genenetwork/genenetwork2/"
"wqflask/wqflask/static/"
"glossary.md")
- self.assertEqual("<h1>Content</h1>\n",
- markdown_content)
+ self.assertRegexpMatches(markdown_content,
+ "Glossary of Terms and Features")
@mock.patch('wqflask.markdown_routes.requests.get')
def test_render_markdown_when_fetching_remotely(self, requests_mock):