Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-07-28 | Merge pull request #414 from BonfaceKilz/tests/add-tests-for-base-module | zsloan | |
Tests/add tests for base module | |||
2020-07-27 | Clean up webqtlCaseData class | BonfaceKilz | |
* wqflask/base/webqtlCaseData.py (webqtlCaseData): - Remove obsolete 'Object' from Class inheritance - Replace 'str' with 'case_data_string' variable- it collides with python in-builts - Use pythonic 'is Not None' form - Remove redundancy in 'if' forms - Update copyright header | |||
2020-07-27 | Add unittests for WebqtlCaseData | BonfaceKilz | |
* wqflask/tests/base/test_webqtl_case_data.py: Add it | |||
2020-07-27 | Abstract away redundant code into set_dataset_key method | BonfaceKilz | |
* wqflask/base/data_set.py (Dataset): - Add set_dataset_key - Remove __call__ method | |||
2020-07-27 | Test that non-existent keys in Dataset are set correctly | BonfaceKilz | |
* wqflask/tests/base/test_data_set.py: Add more tests. | |||
2020-07-27 | Use the correct redis instance inside object | BonfaceKilz | |
* wqflask/base/data_set.py (DatasetType): Use object's redis instance | |||
2020-07-27 | Check that Redis is called correctly | BonfaceKilz | |
* wqflask/tests/base/test_data_set.py: assert that `set` and `get` are called correctly | |||
2020-07-27 | Add test case for empty redis instance for DatasetType | BonfaceKilz | |
* 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-27 | Apply py-lint | BonfaceKilz | |
* wqflask/tests/base/test_data_set.py: Apply pylint | |||
2020-07-27 | Merge pull request #411 from pjotrp/testing | Pjotr Prins | |
Updating docs | |||
2020-07-27 | Merge branch 'testing' into testing | Pjotr Prins | |
2020-07-27 | Merge pull request #412 from BonfaceKilz/docs/document-how-to-run-tests | Pjotr Prins | |
Docs/document how to run tests | |||
2020-07-27 | Document how to run tests | BonfaceKilz | |
* doc/testing.org: - Update how Mechanical Robs works. Python replaced Ruby as the testing tool - Add section that describes how to run unit tests | |||
2020-07-26 | Document how to run tests | BonfaceKilz | |
* README.md: - Add details on how to run unit tests - Update link that points to Mechanical Rob | |||
2020-07-26 | Delete tests/unittests folder | BonfaceKilz | |
* tests/unittests: Delete it. All unittests were moved to wqflask/tests in 3d6483e8 | |||
2020-07-25 | Updating docs and show how to include a local Python module | Pjotr Prins | |
2020-07-25 | The variable is never defined, so let's default to "none" | Pjotr Prins | |
2020-07-25 | Animated gifs | Pjotr Prins | |
2020-07-25 | Removing bimbam check. We'll get rid of bimbam anyway. | Pjotr Prins | |
2020-07-25 | Merge branch 'testing' of github.com:genenetwork/genenetwork2 into testing | Pjotr Prins | |
2020-07-24 | Merge pull request #409 from BonfaceKilz/Build/add-tests | zsloan | |
Build/add tests | |||
2020-07-25 | Update import statement in test_general_object.py | BonfaceKilz | |
* test/unittest/base/test_general_object.py: replace the import statement to use the module path instead of the path referenced from PYTHONPATH | |||
2020-07-24 | Added missing JS library that caused adding markers to collections to not work | zsloan | |
2020-07-24 | Minor aesthetic indentation change in html | zsloan | |
2020-07-24 | Added to menu option for user to change some basic user information, like ↵ | zsloan | |
name/organization | |||
2020-07-24 | Fixed queries that were wrongly returning Data IDs as Ns | zsloan | |
2020-07-24 | Move .coveragerc to wqflask/ | BonfaceKilz | |
* .coveragerc: Move .coveragerc to wqflask so that the coverage test tool can pick it up automatically without having to add an `--rc-file` flag | |||
2020-07-24 | Add basic config for coverage tool | BonfaceKilz | |
* .coveragerc: add it | |||
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 | Revert "Add work-around for failed imports in unittest" | BonfaceKilz | |
This reverts commit d5e87fa6fe7546b46790f512d984a5501223082f. | |||
2020-07-24 | Add work-around for failed imports in unittest | BonfaceKilz | |
* wqflask/utility/tools.py: Unittests will use `from wqflask.wqflask import app` and the gn2 script will use `from wqflask import app` | |||
2020-07-24 | Add basic unittests | BonfaceKilz | |
2020-07-24 | Remove unreachable conditional | BonfaceKilz | |
* wqflask/base/GeneralObject.py(__getattr__): remove if statement that is unreachable | |||
2020-07-24 | Add more tests for general_object | BonfaceKilz | |
* wqflask/tests/base/test_general_object.py: test getattr() and `==` | |||
2020-07-24 | Add more tests for GeneralObject | BonfaceKilz | |
* wqflask/tests/base/test_general_object.py: test object's magic methods | |||
2020-07-24 | Move .coveragerc to wqflask/ | BonfaceKilz | |
* .coveragerc: Move .coveragerc to wqflask so that the coverage test tool can pick it up automatically without having to add an `--rc-file` flag | |||
2020-07-24 | Add generated coverage reports and binary to .gitignore | BonfaceKilz | |
2020-07-24 | Add basic config for coverage tool | BonfaceKilz | |
* .coveragerc: add it | |||
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 | Inject redis instance into DatasetType class | BonfaceKilz | |
* wqflask/base/data_set.py(DatasetType): - Rename Redis instance to r to avoid confusion and name collisions - Inject the redis instance into Dataset_Types class to make it easier to test - Rename Dataset_Types class to DatasetType class | |||
2020-07-24 | Add unittests for *utility/test_numify* | BonfaceKilz | |
2020-07-24 | Apply autopep-8 | BonfaceKilz | |
* wqflask/utility/formatting.py: apply it | |||
2020-07-24 | Add zero to num_repr dictionary | BonfaceKilz | |
* wqflask/utility/formatting.py(numify): Update `num_repr` to have a zero | |||
2020-07-24 | Remove redundant variable | BonfaceKilz | |
* wqflask/utility/corr_result_helpers.py(normalize_values_with_values): Remove `num_overlap` | |||
2020-07-24 | Remove unused assert | BonfaceKilz | |
* wqflask/utility/corr_result_helpers.py(normalize_values): At no one point will that assert be hit | |||
2020-07-24 | Remove unused doc-tests | BonfaceKilz | |
* wqflask/utility/corr_result_helpers.py: Delete doc-test | |||
2020-07-24 | Simplify normalize_values | BonfaceKilz | |
* wqflask/utility/corr_result_helpers.py(normalize_values): Replace loop with zip form | |||
2020-07-24 | Add unittests for *utility/corr_result_helper* | BonfaceKilz | |