ibllib.tests.integration.tasks.test_widefield_tasks

Classes

TestWidefieldPreprocessAndCompress

TestWidefieldRegisterRaw

TestWidefieldSync

class TestWidefieldRegisterRaw(*args, **kwargs)[source]

Bases: IntegrationTest

required_files = ['widefield/widefieldChoiceWorld/CSK-im-011/2021-07-21/001']

An optional list of required files/folders to glob for, relative to data_path.

classmethod setUpClass() None[source]

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

test_rename()[source]

Test that the task renames the files correctly.

classmethod tearDownClass() None[source]

Hook method for deconstructing the class fixture after running all tests in the class.

class TestWidefieldPreprocessAndCompress(*args, **kwargs)[source]

Bases: IntegrationTest

session_path = None
widefield_folder = None
data_folder = None
alf_folder = None
required_files = ['widefield/widefieldChoiceWorld/CSK-im-011/2021-07-21/001']

An optional list of required files/folders to glob for, relative to data_path.

classmethod setUpClass() None[source]

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

test_preprocess()[source]
test_compress()[source]
classmethod tearDownClass() None[source]

Hook method for deconstructing the class fixture after running all tests in the class.

class TestWidefieldSync(*args, **kwargs)[source]

Bases: IntegrationTest

patch = None
video_meta = {}
required_files = ['widefield/widefieldChoiceWorld/JC076/2022-02-04/002']

An optional list of required files/folders to glob for, relative to data_path.

setUp()[source]

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

test_sync()[source]
test_video_led_sync_not_enough()[source]
test_video_led_sync_too_many()[source]
tearDown()[source]

Hook method for deconstructing the test fixture after testing it.