tests package

Submodules

tests.test_obolibrary_utils module

class tests.test_obolibrary_utils.TestOboLibraryUtils(methodName='runTest')

Bases: unittest.case.TestCase

setUp() → None

Hook method for setting up the test fixture before exercising it.

test_base_url_if_exists(mock_urlopen, mock_head)

tests.test_transform module

class tests.test_transform.TestRunTransform(methodName='runTest')

Bases: unittest.case.TestCase

setUp() → None

Hook method for setting up the test fixture before exercising it.

test_download_ontology(mock_get)
test_download_ontology_fail(mock_get)
test_get_owl_iri()
test_get_owl_iri_bad_input()
test_kgx_transform(mock_kgx_transform) → None
test_kgx_transform_fail(mock_kgx_transform) → None
test_retrieve_obofoundry_yaml_select()
test_run_transform(mock_kgx_transform, mock_get_owl_iri, mock_base_url, mock_retrieve_obofoundry_yaml, mock_get)
test_track_obo_version(mock_boto)

tests.test_upload module

class tests.test_upload.TestUploadDirToS3(methodName='runTest')

Bases: unittest.case.TestCase

setUp() → None

Hook method for setting up the test fixture before exercising it.

test_check_lock(mock_boto)
test_check_tracking(mock_boto)
test_mock_check_lock(mock_boto)
test_mock_check_tracking(mock_boto)
test_mock_set_lock(mock_boto)
test_mock_upload_dir_to_s3(mock_boto)
test_set_lock(mock_boto)
test_upload_dir_to_s3(mock_boto)

Module contents