ibllib.tests.test_base_tasks
Classes
- 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 also works on actual image data, testing the conversion from tif to png.