diff options
author | BonfaceKilz | 2020-11-04 18:04:48 +0300 |
---|---|---|
committer | BonfaceKilz | 2020-11-04 18:04:48 +0300 |
commit | fa852e4a293735215e10bff9198c812fb85912ce (patch) | |
tree | af1cd578c4e4beaa6fbed7e4f2a13ab5c6259823 /wqflask | |
parent | 92dbf80bb45e66a93be6fea0fc0a82644cdbb326 (diff) | |
download | genenetwork2-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')
-rw-r--r-- | wqflask/tests/unit/wqflask/test_markdown_routes.py | 4 |
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): |