ibllib.tests.integration.tasks.test_dynamic_pipeline

Classes

TestDynamicPipeline

TestDynamicPipelineWithAlyx

TestExperimentDescription

TestStandardPipelines

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

Bases: IntegrationTest

required_files = ['dynamic_pipeline/ephys_NP3B']

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

setUp() None[source]

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

test_alyx_task_dicts()[source]
test_alyx_task_creation_pipeline()[source]
test_alyx_task_creation_task_dict()[source]
compare_dicts(dict1, dict2, id=True)[source]
tearDown() None[source]

Hook method for deconstructing the test fixture after testing it.

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

Bases: IntegrationTest

setUp() None[source]

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

test_ephys_3B()[source]
test_ephys_3A()[source]
test_ephys_NP24()[source]
test_training()[source]
test_habituation()[source]
test_widefield()[source]
test_photometry()[source]
test_mesoscope()[source]

Test that the mesoscope pipeline is created when the mesoscope device is present.

test_chained()[source]

Test pipeline creation when there are multiple task protocols run within a session

test_extractors()[source]

Test pipeline creation when the tesk extractors are defined within the experiment.description file.

check_pipeline()[source]
compare_dicts(dict1, dict2)[source]
class TestDynamicPipelineWithAlyx(*args, **kwargs)[source]

Bases: IntegrationTest

setUp() None[source]

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

test_run_dynamic_pipeline_full()[source]

This runs the full suite of tasks on a TrainingChoiceWorld task.

tearDown() None[source]

Hook method for deconstructing the test fixture after testing it.

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

Bases: IntegrationTest

setUp() None[source]

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

test_params_reading()[source]
test_compatibility()[source]

Test for ibllib.io.session_params._patch_file.

This checks whether a description file is old and modified the dict to be compatible with the most recent spec.