aboutsummaryrefslogtreecommitdiff
path: root/wqflask/tests/base
AgeCommit message (Collapse)Author
2020-09-28Update trait testsBonfaceKilz
* wqflask/tests/base/test_trait.py (test_retrieve_trait_info_with_non_empty_lrs): Check trait.LRS_score_repr is set correctly if trait.lrs is None. (test_retrieve_trait_info_with_empty_lrs_field): Check trait.LRS_score_repr and test_trait.LRS_location_repr is set correctly if trait.lrs is None. (test_retrieve_trait_info_with_empty_chr_field): Check test_trait.LRS_score_repr and test_trait.LRS_location_repr is set correctly if trait.locus is None.
2020-09-23Fix failing testsBonfaceKilz
* wqflask/tests/base/test_trait.py: In python2 it's necessary to decode the utf-8 string.
2020-09-16Add new tests for "base/trait.py"BonfaceKilz
* wqflask/tests/base/test_trait.py: New tests.
2020-09-15Fix failing testsBonfaceKilz
* wqflask/tests/base/test_data_set.py: Update failing tests introduced by the change in 301bdd2f4.
2020-07-27Add unittests for WebqtlCaseDataBonfaceKilz
* wqflask/tests/base/test_webqtl_case_data.py: Add it
2020-07-27Test that non-existent keys in Dataset are set correctlyBonfaceKilz
* wqflask/tests/base/test_data_set.py: Add more tests.
2020-07-27Check that Redis is called correctlyBonfaceKilz
* wqflask/tests/base/test_data_set.py: assert that `set` and `get` are called correctly
2020-07-27Add test case for empty redis instance for DatasetTypeBonfaceKilz
* wqflask/tests/base/test_data_set.py(tests): Check correct results are returned when Redis is empty * wqflask/tests/base/data.py(tests): New file. Adds json test data.
2020-07-27Apply py-lintBonfaceKilz
* wqflask/tests/base/test_data_set.py: Apply pylint
2020-07-24Add more tests for general_objectBonfaceKilz
* wqflask/tests/base/test_general_object.py: test getattr() and `==`
2020-07-24Add more tests for GeneralObjectBonfaceKilz
* wqflask/tests/base/test_general_object.py: test object's magic methods
2020-07-24Add unittests for *base/data_set*BonfaceKilz
2020-07-24Move tests to moduleBonfaceKilz
* test/unittest/: Move to wqflask/tests/