aboutsummaryrefslogtreecommitdiff
path: root/wqflask/tests/unit/base/test_species.py
AgeCommit message (Collapse)Author
2022-09-22Provide database cursor as argument for TheSpecies and ChromosomesFrederick Muriuki Muriithi
Provide the database cursor as an argument to the methods of the two classes: * wqflask.base.species.TheSpecies * wqflask.base.species.Chromosomes Also update dependent code to initialise and pass the cursor where these classes are used.
2022-09-08Test the creation of the_species, indchromosomes and chromosome objsMunyoki Kilyungi
* wqflask/tests/unit/base/test_species.py (TestTheSpecies): Delete. (TestIndChromosome): Move to pytest and parametrize. (TestChromosomes): Ditto. (test_species): Ditto. (test_create_ind_chromosome): Ditto. (test_create_chromosomes): Ditto.
2022-03-17Skip unittestsBonfaceKilz
These tests touch on core data-structures in gn2; and there's a chance that refactoring said data-structures may break many things.
2021-05-05tests: test_species: Update failing testsBonfaceKilz
2021-05-05templates: test_species: Add tests for instantiating ChromosomesBonfaceKilz
2021-05-05tests: test_species: Test that IndChromosome instantiates correctlyBonfaceKilz
2021-05-05tests: test_species: Add test cases for TestTheSpecies classBonfaceKilz