ibllib.tests.test_base_tasks

Classes

TestBehaviourTask

TestRegisterRawDataTask

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

Bases: TestCase

tmpdir = None
one = None
session_path = None
eid = None
classmethod setUpClass() None[source]

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

test_register_snapshots()[source]

Test ibllib.pipes.base_tasks.RegisterRawDataTask.register_snapshots.

A more thorough test for this exists in ibllib.tests.test_pipes.TestRegisterRawDataTask. This test does not mock REST (and therefore requires a test database), while the other does. This test could be removed as it’s rather redundant.

test_rename_files()[source]
classmethod tearDownClass() None[source]

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

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

Bases: TestCase

test_spacer_support() None[source]

Test for BehaviourTask._spacer_support method.