Age | Commit message (Expand) | Author |
2020-09-28 | Merge branch 'build/python3-migration' of github.com:BonfaceKilz/genenetwork2... | BonfaceKilz |
2020-09-28 | Update trait tests•••* 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.
| BonfaceKilz |
2020-09-26 | Fix failing tests by replacing mock with unittest.mock•••* wqflask/tests/base/test_data_set.py (imports): Run:
`find . -type f -name "*py" -print0 | xargs -0 sed -i \
"s|import mock|from unittest import mock|g"`
* wqflask/tests/base/test_trait.py(imports): Ditto.
* wqflask/tests/utility/test_authentication_tools.py(imports): Ditto.
* wqflask/tests/utility/test_hmac.py(imports). Ditto.
* wqflask/tests/wqflask/api/test_gen_menu.py: Ditto
| BonfaceKilz |
2020-09-26 | Fix failing tests•••* wqflask/tests/base/test_trait.py: Remove decode function call which
is no longer supported in python3.
| BonfaceKilz |
2020-09-26 | Merge branch 'testing' into build/python3-migration | BonfaceKilz |
2020-09-23 | Fix failing tests•••* wqflask/tests/base/test_trait.py: In python2 it's necessary to
decode the utf-8 string.
| BonfaceKilz |
2020-09-17 | Merge branch 'testing' into build/python3-migration | BonfaceKilz |
2020-09-17 | Mock "SECRET_HMAC_CODE"•••* wqflask/tests/utility/test_hmac.py: Mock app.config's
"SECRET_HMAC_CODE" value.
| BonfaceKilz |
2020-09-17 | Fix errors in tests•••* wqflask/tests/utility/test_authentication_tools.py
test_check_resource_availability_non_default_mask): Mock flask's
global 'g' variable properly.
* wqflask/tests/base/test_trait.py: Ditto.
* wqflask/tests/utility/test_authentication_tools.py: Ditto.
| BonfaceKilz |
2020-09-17 | Merge branch 'testing' into build/python3-migration | BonfaceKilz |
2020-09-17 | Add tests for hmac utility•••* wqflask/tests/utility/test_hmac.py: New tests.
| BonfaceKilz |
2020-09-16 | Add new tests for "base/trait.py"•••* wqflask/tests/base/test_trait.py: New tests.
| BonfaceKilz |
2020-09-16 | Add tests for "add_new_resource" method•••* wqflask/tests/utility/test_authentication_tools.py: Add them.
| BonfaceKilz |
2020-09-16 | Add tests for authentication tools•••Catches bugs in:
-
https://github.com/genenetwork/genenetwork2/pull/422/commits/70dbeeb5832711ed5271434e482c18bc7ea095b8
* wqflask/tests/utility/test_authentication_tools.py: New file. Add
tests for "check_resource_availability".
| BonfaceKilz |
2020-09-15 | Fix failing tests•••* wqflask/tests/base/test_data_set.py: Update failing tests introduced
by the change in 301bdd2f4.
| BonfaceKilz |
2020-08-27 | Fix failing tests | BonfaceKilz |
2020-08-26 | Fix failing tests that use python2-htmlgen•••* wqflask/tests/wqflask/marker_regression/test_display_mapping_results.py: Fix
tests.
| BonfaceKilz |
2020-08-24 | Add tests for the HtmlGenWrapper class•••* wqflask/tests/wqflask/marker_regression/test_display_mapping_results.py: Add
new tests
| BonfaceKilz |
2020-08-24 | Rename file•••* wqflask/tests/wqflask/marker_regression/test_display_mapping_results.py:
Rename test_display_marking_results.py to test_display_mapping_results.py
| BonfaceKilz |
2020-08-24 | Fix failing test•••* wqflask/tests/wqflask/api/test_gen_menu.py: Update assertion. Result data
introduced in 092212df
Signed-off-by: BonfaceKilz <bonfacemunyoki@gmail.com>
| BonfaceKilz |
2020-08-08 | Add a basic test for test_display_marking_results.py•••* wqflask/tests/wqflask/marker_regression/__init__.py: Add it
* wqflask/tests/wqflask/marker_regression/test_display_marking_results.py: Check
that PIL colors are being used instead of the deprecated Piddle colors.
| BonfaceKilz |
2020-08-07 | Move wqflask/tests/api to wqflask/tests/wqflask•••* wqflask/tests(api): Move all the files here to tests/wqflask. The test dir
should mirror the actual module structure
| BonfaceKilz |
2020-08-03 | Fix some errors generated by running pylint•••* wqflask/wqflask/api/gen_menu.py: Apply pylint.
* wqflask/tests/api/test_gen_menu.py: Apply pylint.
| BonfaceKilz |
2020-08-03 | Add extra test for "build_datasets"•••* wqflask/tests/api/test_gen_menu.py: Add test.
| BonfaceKilz |
2020-08-03 | Move variable to setUp•••* wqflask/tests/api/test_gen_menu.py: Move variable
| BonfaceKilz |
2020-08-03 | Add test for "gen_dropdown_json"•••* wqflask/tests/api/test_gen_menu.py: Add new test
| BonfaceKilz |
2020-08-03 | Add tests for "get_datasets"•••* wqflask/tests/api/test_gen_menu.py: Add new tests
| BonfaceKilz |
2020-08-03 | Add tests for "get_types"•••* wqflask/tests/api/test_gen_menu.py: Add new tests
| BonfaceKilz |
2020-08-03 | Add test for "build_types"•••* wqflask/tests/api/test_gen_menu.py: New test
| BonfaceKilz |
2020-07-30 | Add tests for "build_datasets"•••* wqflask/tests/api/test_gen_menu.py: Add new tests for "build_datasets"
function
| BonfaceKilz |
2020-07-29 | Add tests for "phenotypes_exist" and "genotypes_exist"•••* wqflask/tests/api/test_gen_menu.py: Add new tests
| BonfaceKilz |
2020-07-29 | Add test for "get_groups"•••* wqflask/tests/api/test_gen_menu.py: test that "get_groups" uses the correct
sql query and returns the correct group data structure.
| BonfaceKilz |
2020-07-29 | Add initial gen_menu test•••* wqflask/tests/api/__init__.py: Add it
* wqflask/tests/api/test_gen_menu.py: Add test for get_species
| BonfaceKilz |
2020-07-27 | Add unittests for WebqtlCaseData•••* wqflask/tests/base/test_webqtl_case_data.py: Add it
| BonfaceKilz |
2020-07-27 | Test that non-existent keys in Dataset are set correctly•••* wqflask/tests/base/test_data_set.py: Add more tests.
| BonfaceKilz |
2020-07-27 | Check that Redis is called correctly•••* wqflask/tests/base/test_data_set.py: assert that `set` and `get` are called
correctly
| BonfaceKilz |
2020-07-27 | Add test case for empty redis instance for DatasetType•••* 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.
| BonfaceKilz |
2020-07-27 | Apply py-lint•••* wqflask/tests/base/test_data_set.py: Apply pylint
| BonfaceKilz |
2020-07-24 | Rename test_numify.py to test_formatting.py | BonfaceKilz |
2020-07-24 | Add unittests for *utility/test_numify* | BonfaceKilz |
2020-07-24 | Add more tests for general_object•••* wqflask/tests/base/test_general_object.py: test getattr() and `==`
| BonfaceKilz |
2020-07-24 | Add more tests for GeneralObject•••* wqflask/tests/base/test_general_object.py: test object's magic methods
| BonfaceKilz |
2020-07-24 | Rename test_numify.py to test_formatting.py | BonfaceKilz |
2020-07-24 | Add unittests for *base/data_set* | BonfaceKilz |
2020-07-24 | Add unittests for *utility/test_numify* | BonfaceKilz |
2020-07-24 | Add unittests for *utility/corr_result_helper* | BonfaceKilz |
2020-07-24 | Add unittests for *utility/corestats* | BonfaceKilz |
2020-07-24 | Test utility methods for chunking•••* wqflask/tests/utility/test_chunks.py: New test
| BonfaceKilz |
2020-07-24 | Move tests to module•••* test/unittest/: Move to wqflask/tests/
| BonfaceKilz |