ibllib.tests.test_io

Classes

TestRawDaqLoaders

Tests for raw_daq_loaders module

TestSessionParams

Tests for ibllib.io.session_params module.

TestVideo

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]
test_load_settings()[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 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]

A test for both aggregate_device and merge_params.

test_read_yaml()[source]
test_patch_data()[source]
test_get_collections()[source]
test_get_collections_repeat_protocols()[source]
class TestRawDaqLoaders(methodName='runTest')[source]

Bases: TestCase

Tests for raw_daq_loaders module

setUp()[source]

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

test_extract_sync_timeline()[source]

Test for extract_sync_timeline function.

test_timeline_meta2wiring()[source]

Test for timeline_meta2wiring function.

test_timeline_meta2chmap()[source]

Test for timeline_meta2chmap function.