pangea.contrib.treeoflife.tests.test_treeoflife module
Test suite for TreeOfLife module.
-
class
pangea.contrib.treeoflife.tests.test_treeoflife.
TestMicrobeDir
(methodName='runTest')[source]
Bases: django.test.testcases.TestCase
-
classmethod
setUpTestData
()[source]
Load initial data for the TestCase.
-
test_get_bacteria_entry
()[source]
-
test_get_ecoli_annotation
()[source]
-
test_get_root_annotation
()[source]
-
class
pangea.contrib.treeoflife.tests.test_treeoflife.
TestMicrobeDirAPI
(methodName='runTest')[source]
Bases: rest_framework.test.APITestCase
-
classmethod
setUpTestData
()[source]
Load initial data for the TestCase.
-
test_annotate_taxa
()[source]
Ensure we can update a defunct taxa name.
-
test_get_annotated_descendants
()[source]
Ensure we can get descendants.
-
class
pangea.contrib.treeoflife.tests.test_treeoflife.
TestTreeOfLife
(methodName='runTest')[source]
Bases: django.test.testcases.TestCase
-
classmethod
setUpTestData
()[source]
Load initial data for the TestCase.
-
test_get_root_by_name
()[source]
-
test_get_root_node
()[source]
-
test_get_specific_genus_by_name
()[source]
-
test_get_specific_species_by_name
()[source]
-
class
pangea.contrib.treeoflife.tests.test_treeoflife.
TestTreeOfLifeAPI
(methodName='runTest')[source]
Bases: rest_framework.test.APITestCase
-
classmethod
setUpTestData
()[source]
Load initial data for the TestCase.
-
test_canonicalize_multiple_taxa_name
()[source]
Ensure we can update a defunct taxa name.
-
test_canonicalize_taxa_name
()[source]
Ensure we can update a defunct taxa name.
-
test_canonicalize_taxa_name_case_insensitive
()[source]
Ensure we can update a defunct taxa name.
-
test_get_descendants
()[source]
Ensure we can get descendants.
-
test_search_non_canon_name
()[source]
Ensure we can update a defunct taxa name.
-
test_search_taxa_name
()[source]
Ensure we can update a defunct taxa name.
-
test_search_taxa_name_rank_specified
()[source]
Ensure we can update a defunct taxa name.