ibllib.tests.qc.test_base_qc

Classes

TestQC

Test base QC class.

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

Bases: TestCase

Test base QC class.

eid = None

An experiment UUID to use for updating QC fields.

Type:

str

classmethod setUpClass()[source]

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

setUp() None[source]

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

test__set_eid_or_path() None[source]

Test setting both the eid and session path when providing one or the other

test_update() None[source]

Test setting the QC field in Alyx

test_extended_qc() None[source]

Test that the extended_qc JSON field is correctly updated.

test_outcome_setter()[source]

Test for QC.outcome property setter.

test_overall_outcome()[source]

Test for QC.overall_outcome method.

test_compute_outcome_from_extended_qc()[source]

Test for QC.compute_outcome_from_extended_qc method.

classmethod tearDownClass()[source]

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