ibllib.tests.qc.test_camera_qc

Classes

TestCameraQC

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

Bases: unittest.case.TestCase

backend = ''
classmethod setUpClass() → None[source]

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

classmethod tearDownClass() → None[source]

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

setUp() → None[source]

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

tearDown() → None[source]

Hook method for deconstructing the test fixture after testing it.

test_check_brightness()[source]
test_check_file_headers()[source]
test_check_framerate()[source]
test_check_pin_state()[source]
test_check_dropped_frames()[source]
test_check_focus()[source]
test_check_position()[source]
test_check_resolution()[source]
test_check_timestamps()[source]
test_check_camera_times()[source]
test_check_wheel_alignment()[source]

This just checks data validation. Integration tests test the MotionAlignment class

test_ensure_data()[source]