ibllib.tests.qc.test_alignment_qc

Classes

TestAlignmentQcExisting

TestAlignmentQcManual

TestHistologyQc

TestProbeInsertion

TestTracingQc

TestUploadToFlatIron

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

Bases: unittest.case.TestCase

test_creation()[source]
class TestHistologyQc(methodName='runTest')[source]

Bases: unittest.case.TestCase

test_session_creation()[source]
test_probe_qc()[source]
class TestTracingQc(methodName='runTest')[source]

Bases: unittest.case.TestCase

classmethod setUpClass() → None[source]

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

test_tracing_exists()[source]
test_tracing_not_exists()[source]
classmethod tearDownClass() → None[source]

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

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

Bases: unittest.case.TestCase

classmethod setUpClass() → None[source]

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

setUp()[source]

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

test_01_no_alignments()[source]
test_02_one_alignment()[source]
test_03_alignments_disagree()[source]
test_04_alignments_agree()[source]
test_05_not_latest_alignments_agree()[source]
classmethod tearDownClass() → None[source]

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

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

Bases: unittest.case.TestCase

classmethod setUpClass() → None[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_01_normal_computation()[source]
test_02_manual_resolution_latest()[source]
test_03_manual_resolution_not_latest()[source]
classmethod tearDownClass() → None[source]

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

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

Bases: unittest.case.TestCase

setUpClass()

classmethod(function) -> method

Convert a function to be a class method.

A class method receives the class as implicit first argument, just like an instance method receives the instance. To declare a class method, use this idiom:

class C:

@classmethod def f(cls, arg1, arg2, …):

It can be called either on the class (e.g. C.f()) or on an instance (e.g. C().f()). The instance is ignored except for its class. If a class method is called for a derived class, the derived class object is passed as the implied first argument.

Class methods are different than C++ or Java static methods. If you want those, see the staticmethod builtin.

test_data_content()[source]
test_upload_to_flatiron()[source]
classmethod tearDownClass() → None[source]

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