aboutsummaryrefslogtreecommitdiff
path: root/wqflask
diff options
context:
space:
mode:
authorMunyoki Kilyungi2023-09-05 18:30:06 +0300
committerBonfaceKilz2023-09-05 18:31:39 +0300
commit04aa1fa922f83e2ae5db6410d9a7e81b209e43a8 (patch)
treea1e843d81f0ef98f3e6ac3494a581efb5b8cd1e2 /wqflask
parent061c88d0973a324652d217706639f3dbc7f3da32 (diff)
downloadgenenetwork2-04aa1fa922f83e2ae5db6410d9a7e81b209e43a8.tar.gz
Replace assertRegexpMatches with assertRegex
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
Diffstat (limited to 'wqflask')
-rw-r--r--wqflask/tests/unit/wqflask/api/test_markdown_routes.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/wqflask/tests/unit/wqflask/api/test_markdown_routes.py b/wqflask/tests/unit/wqflask/api/test_markdown_routes.py
index 1c513ac5..4f575c4c 100644
--- a/wqflask/tests/unit/wqflask/api/test_markdown_routes.py
+++ b/wqflask/tests/unit/wqflask/api/test_markdown_routes.py
@@ -35,8 +35,8 @@ class TestMarkdownRoutesFunctions(unittest.TestCase):
"/genenetwork/gn-docs/"
"master/general/"
"glossary/glossary.md")
- self.assertRegexpMatches(markdown_content,
- "Content for general/glossary/glossary.md not available.")
+ self.assertRegex(markdown_content,
+ "Content for general/glossary/glossary.md not available.")
@mock.patch('wqflask.api.markdown.requests.get')
def test_render_markdown_when_fetching_remotely(self, requests_mock):