aboutsummaryrefslogtreecommitdiff
path: root/wqflask/tests/unit
AgeCommit message (Collapse)Author
2020-11-27move tests to unit folderAlexander Kabui
2020-11-20Replace mockobject with dataclassesBonfaceKilz
* wqflask/tests/unit/wqflask/test_markdown_routes.py (MockRequests404): Use dataclasses. (MockRequests200): Ditto.
2020-11-20Update tests to use new gn2-docs urlBonfaceKilz
2020-11-04Update test_markdown_routesBonfaceKilz
* wqflask/tests/unit/wqflask/test_markdown_routes.py (test_render_markdown_when_fetching_locally): Fix failing test.
2020-11-03Fix false-positive testsBonfaceKilz
* wqflask/tests/unit/wqflask/test_markdown_routes.py: (MockRequests404): Pass self in all properties. (MockRequests200): Ditto. (test_render_markdown): Rename to test_render_markdown_when_fetching_locally. (test_render_markdown_when_fetching_remotely): New test.
2020-11-03Add basic tests for rendering_markdownBonfaceKilz
* wqflask/tests/unit/wqflask/test_markdown_routes.py: New tests.
2020-11-03Remove encoding header for fileBonfaceKilz
In python3 the default encoding is utf-8 so this is redundant.
2020-11-03Separate unittests from integration testsBonfaceKilz