ibllib.tests.test_io

Classes

TestVideo

TestsGlobus

TestsJsonable

TestsMisc

TestsParams

TestsRawDataLoaders

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

Bases: unittest.case.TestCase

setUp()[source]

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

test_params()[source]
test_param_get_file()[source]
test_new_default_param()[source]
tearDown()[source]

Hook method for deconstructing the test fixture after testing it.

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

Bases: unittest.case.TestCase

setUp()[source]

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

testFlagFileRead()[source]
testAppendFlagFile()[source]
test_load_encoder_trial_info()[source]
test_load_camera_ssv_times()[source]
test_load_camera_gpio()[source]

Embedded frame data comes from 057e25ef-3f80-42e8-aa9f-e259df8bc9ad, left camera :return:

test_load_camera_frame_count()[source]

Embedded frame data comes from 057e25ef-3f80-42e8-aa9f-e259df8bc9ad, left camera :return:

test_load_embedded_frame_data()[source]
tearDown()[source]

Hook method for deconstructing the test fixture after testing it.

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

Bases: unittest.case.TestCase

testReadWrite()[source]
class TestsMisc(methodName='runTest')[source]

Bases: unittest.case.TestCase

setUp()[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_delete_empty_folders()[source]
class TestsGlobus(methodName='runTest')[source]

Bases: unittest.case.TestCase

setUp()[source]

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

test_as_globus_path()[source]
test_login_auto(mock_params)[source]
class TestVideo(methodName='runTest')[source]

Bases: unittest.case.TestCase

classmethod setUpClass() → None[source]

Hook method for setting up class fixture before running tests in the class.

setUp() → None[source]

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

test_label_from_path()[source]
test_url_from_eid()[source]
test_assert_valid_label()[source]