ibllib.tests.test_pipes

Classes

TestLocalServer

Tests for the ibllib.pipes.local_server module.

TestPipesMisc

TestRegisterRawDataTask

TestScanFixPassiveFiles

TestSleeplessDecorator

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

Bases: TestCase

Tests for the ibllib.pipes.local_server module.

setUp()[source]

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

test_task_queue(lab_repo_mock)[source]

Test ibllib.pipes.local_server.task_queue function.

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

Bases: TestCase

setUp()[source]

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

test_get_new_filename()[source]
test_rename_and_move()[source]
test_create_alyx_probe_insertions()[source]
test_probe_names_from_session_path()[source]
tearDown()[source]

Hook method for deconstructing the test fixture after testing it.

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

Bases: TestCase

setUp()[source]

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

test_scan_fix()[source]
test_find_pairs()[source]
test_move_rename_pairs()[source]
tearDown()[source]

Hook method for deconstructing the test fixture after testing it.

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

Bases: TestCase

setUp() None[source]

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

test_rename_files()[source]

Test upload of snapshots.

Another test for this exists in ibllib.tests.test_base_tasks.TestRegisterRawDataTask. This test does not work on real files and works without a test db.

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

Bases: TestCase

test_decorator_argument_passing()[source]