ibllib.tests.test_io

Classes

TestSessionParams

Tests for ibllib.io.session_params module

TestVideo

TestsGlobus

TestsMisc

TestsParams

TestsRawDataLoaders

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

Bases: 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: 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]
test_load_camera_frameData()[source]
tearDown()[source]

Hook method for deconstructing the test fixture after testing it.

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

Bases: 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: 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: 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]
class TestSessionParams(methodName='runTest')[source]

Bases: TestCase

Tests for ibllib.io.session_params module

setUp() None[source]

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

test_aggregate(sleep_mock)[source]
test_read_yaml()[source]
test_patch_data()[source]