aboutsummaryrefslogtreecommitdiff
path: root/tests/unit/db
AgeCommit message (Expand)Author
2021-10-18Move 'export_trait_data' to 'gn3.db.traits' moduleFrederick Muriuki Muriithi
2021-09-27Update terminology: `riset` to `group`Frederick Muriuki Muriithi
2021-09-23Refactor: Move common sample data to separate fileFrederick Muriuki Muriithi
2021-09-22Fix more pylint errorsFrederick Muriuki Muriithi
2021-09-15Add missing sample file for testsFrederick Muriuki Muriithi
2021-09-01Fix linting and typing issuesMuriithi Frederick Muriuki
2021-09-01Built top-level genotype file parsing functionMuriithi Frederick Muriuki
2021-09-01Parse data lines into markersMuriithi Frederick Muriuki
2021-09-01Parse the genotype file's data headerMuriithi Frederick Muriuki
2021-09-01Implement parsing of genotype labelsMuriithi Frederick Muriuki
2021-08-09Set up the trait dataset type correctlyMuriithi Frederick Muriuki
2021-08-09Fix linting errorsMuriithi Frederick Muriuki
2021-08-08Update testsMuriithi Frederick Muriuki
2021-08-05Reorganise the database codeMuriithi Frederick Muriuki
2021-08-05Build up trait_name items from full nameMuriithi Frederick Muriuki
2021-08-04Fix issues caught by pylintMuriithi Frederick Muriuki
2021-08-04Retrieve the RISet and RISet ID valuesMuriithi Frederick Muriuki
2021-08-04Add tests for post-processing functionsMuriithi Frederick Muriuki
2021-08-04Update testsMuriithi Frederick Muriuki
2021-07-30Remove extra spaceMuriithi Frederick Muriuki
2021-07-30Return dict from query functionsMuriithi Frederick Muriuki
2021-07-29Merge branch 'main' into Feature/Update-db-from-csv-dataBonfaceKilz
2021-07-29Delete "update_raw" and it's test-casesBonfaceKilz
2021-07-29Add method for updating values from a sample datasetBonfaceKilz
2021-07-29Retrieve trait informationMuriithi Frederick Muriuki
2021-07-29Make name retrieval more generalMuriithi Frederick Muriuki
2021-07-29Retrieve 'ProbeSet' trait nameMuriithi Frederick Muriuki
2021-07-26tests: test_db: Add test case for "update_raw"BonfaceKilz
2021-07-10Fix pylint issuesBonfaceKilz
2021-07-10db: test_db: Test that a fetch is correct when columns are specifiedBonfaceKilz
2021-06-07db: test_db: Add extra variable in test data for "id"BonfaceKilz
2021-06-07Rename json_data column to json_diff_dataBonfaceKilz
2021-06-07tests: test_db: Add a test-case for fetchallBonfaceKilz
2021-06-07tests: test_db: Rename TestPhenotypeBonfaceKilz
2021-06-07tests: test_phenotype: Rename to test_dbBonfaceKilz
2021-06-03Use prepared statements for FETCH sql functionBonfaceKilz
2021-06-03Use prepared statements for UPDATE sql functionBonfaceKilz
2021-06-03tests: test_audit: Update test case to check for prepared statementsBonfaceKilz
2021-06-03Add data structures for the table metadata_auditBonfaceKilz
2021-06-03unit: test_phenotypes: Test for multiple "WHERE" clausesBonfaceKilz
2021-06-03Get the diff between 2 dicts and return that as a dictBonfaceKilz
2021-05-26Move the methods, "update" and "fetch", to gn3.dbBonfaceKilz
2021-05-20tests: test_phenotype: Add function that tests "fetchone"BonfaceKilz
2021-05-20db: phenotypes: Update failing testsBonfaceKilz
2021-05-20tests: test_phenotypes: New test cases for loading phenotypesBonfaceKilz
2021-05-10tests: test_species: Add test for `get_all_species`BonfaceKilz
2021-05-08tests: test_species: New testsBonfaceKilz