oneibl.tests.test_one

Classes

TestList

TestLoad

TestMisc

TestOneOffline

TestOneSetup

TestSearch

class TestOneSetup(methodName='runTest')[source]

Bases: unittest.case.TestCase

setUp() → None[source]

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

tearDown() → None[source]

Hook method for deconstructing the test fixture after testing it.

test_setup_silent()[source]
test_setup()[source]
class TestSearch(methodName='runTest')[source]

Bases: unittest.case.TestCase

test_search_simple()[source]
class TestList(methodName='runTest')[source]

Bases: unittest.case.TestCase

setUp()[source]

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

test_list()[source]
class TestLoad(methodName='runTest')[source]

Bases: unittest.case.TestCase

setUp()[source]

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

test_load_multiple_sessions()[source]
test_load_uuid()[source]
test_load()[source]
test_load_empty()[source]
test_load_from_uuid()[source]
test_load_all_data_available()[source]
test_load_fileformats()[source]
test_session_does_not_exist()[source]
test_download_hash()[source]
test_load_object()[source]
class TestMisc(methodName='runTest')[source]

Bases: unittest.case.TestCase

test_validate_date_range()[source]
test_to_eid()[source]
test_path_to_url()[source]
test_datasets_from_type()[source]
class TestOneOffline(methodName='runTest')[source]

Bases: unittest.case.TestCase

setUp() → None[source]

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

test_one_offline() → None[source]
test_path_eid()[source]

Test path_from_eid and eid_from_path methods

tearDown() → None[source]

Hook method for deconstructing the test fixture after testing it.