aboutsummaryrefslogtreecommitdiff
path: root/wqflask/tests
AgeCommit message (Collapse)Author
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-18Merge pull request #481 from Alexanderlacuna/test-SampleListBonfaceKilz
Test sample list
2020-11-11Merge branch 'testing' of github.com:genenetwork/genenetwork2 into ↵BonfaceKilz
feature/add-glossary-page
2020-11-06modify tests to for changes in the natural sort functionAlexanderlacuna
2020-11-06fix typoAlexanderlacuna
2020-11-05remove duplicatesAlexanderlacuna
2020-11-05add test for samplelist and show_traitAlexanderlacuna
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-04correct a typoAlexanderlacuna
2020-11-04remove extra whitespaceAlexanderlacuna
2020-11-04remove whitespace in line 119-120Alexanderlacuna
2020-11-04remove whitespaceAlexanderlacuna
2020-11-04remove whitespace and assertIsAlexanderlacuna
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-03Delete fileBonfaceKilz
* wqflask/tests/integration/test_glossary.py: Delete it. Earlier renamed to test_markdown_routes.
2020-11-03Add basic tests for rendering_markdownBonfaceKilz
* wqflask/tests/unit/wqflask/test_markdown_routes.py: New tests.
2020-11-03Add basic structure for "/glossary" routes testBonfaceKilz
2020-11-03remove unnecessary commentsAlexanderlacuna
2020-11-03add pep8 formattingAlexanderlacuna
2020-11-03add tests for the get_categorical_variables functionAlexanderlacuna
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
2020-11-03Add test for "/glossary" routeBonfaceKilz
2020-11-03switch from assertFalse to assertIsAlexanderlacuna
2020-11-03switch from assertTrue/False to assertIs to make the tests tighterAlexanderlacuna
2020-11-03use assertTrue and assertFalse in while testing booleanAlexanderlacuna
2020-11-02add better formattingAlexanderlacuna
2020-11-02add function docstringAlexanderlacuna
2020-11-02add tests for show trait moduleAlexanderlacuna
2020-10-31remove redundant classesAlexanderlacuna
2020-10-31use descriptive variable namesAlexanderlacuna
2020-10-31Use more descriptive variable and class namesAlexanderlacuna
2020-10-30add test for get_export_metadataAlexanderlacuna
2020-10-29add test for show_traitAlexanderlacuna
2020-10-29Merge branch 'testing' of https://github.com/genenetwork/genenetwork2 into ↵Alexanderlacuna
test-branch
2020-10-29format fileAlexanderlacuna
2020-10-29add test for show_trait/export_trait_dataAlexanderlacuna
2020-10-28Add new test for hmac_creation with latin-1 secretBonfaceKilz
* wqflask/tests/utility/test_hmac.py (test_hmac_creation_with_cookie): New test. For this test, use a secret that behaves differently when encoded to either utf-8 or latin-1.
2020-10-28Add tests for cookie verificationBonfaceKilz
2020-10-27Merge pull request #465 from Alexanderlacuna/test-branchBonfaceKilz
add test for trait_data
2020-10-27switch from single quote to double quoteAlexanderlacuna
2020-10-27address failuresAlexanderlacuna
2020-10-27added changes to fileAlexanderlacuna
2020-10-27modified to use pep8 standardsAlexanderlacuna
2020-10-26modified test fileAlexanderlacuna
2020-10-20Add tests for encoding passwordBonfaceKilz
* wqflask/tests/wqflask/test_user_login.py: New tests.
2020-10-20Add pbkdf2 testsBonfaceKilz
* wqflask/tests/wqflask/test_pbkdf2.py: New tests.
2020-10-09Add test for process_traits from collections.pyBonfaceKilz
* wqflask/tests/wqflask/test_collect.py: Add it.
2020-09-30Fix import in testsBonfaceKilz