ibllib.tests.integration.test_ephys_ttl_check

The ttl_check pipeline is to validate a setup before doing recordings, on the ephysChoiceWorld task, doing a dummy without animal and check that all syncs are there

This test is also a synchronization extraction test, as it checks the ouput. The tear down function removes all _spikeglx_ files so they are regenerated from the small files accessible

Classes

TestEphysCheckList

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

Bases: IntegrationTest

required_files = ['ephys/ttl_check']

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_checklist_mock_3B_single()[source]
test_checklist_mock_3A_single()[source]
test_checklist_mock_3A_dual()[source]
test_checklist_from_arbitrary_folder()[source]
test_checklist_mock_3B_dual()[source]
test_checklist_empty_folder()[source]
tearDown()[source]

Hook method for deconstructing the test fixture after testing it.