File tree Expand file tree Collapse file tree 2 files changed +8
-5
lines changed
Expand file tree Collapse file tree 2 files changed +8
-5
lines changed Original file line number Diff line number Diff line change 11import pytest
2- import abc
32import astropy .units as u
43import named_arrays as na
54import msfc_ccd
5+ from optika ._tests .test_mixins import AbstractTestPrintable
66
77
8- class AbstractTestAbstractSensor (
9- abc . ABC ,
8+ class AbstractTestAbstractCamera (
9+ AbstractTestPrintable ,
1010):
1111
1212 @pytest .mark .parametrize ("value" , [1 , 10 ])
@@ -62,6 +62,6 @@ def test_calibrate_temperature_adc_234(
6262 ],
6363)
6464class TestCamera (
65- AbstractTestAbstractSensor ,
65+ AbstractTestAbstractCamera ,
6666):
6767 pass
Original file line number Diff line number Diff line change 22import astropy .units as u
33import msfc_ccd
44from optika .sensors .materials import AbstractSiliconSensorMaterial
5+ from optika ._tests .test_mixins import AbstractTestPrintable
56
67
7- class AbstractTestAbstractSensor :
8+ class AbstractTestAbstractSensor (
9+ AbstractTestPrintable ,
10+ ):
811
912 def test_num_tap_x (self , a : msfc_ccd .abc .AbstractSensor ):
1013 result = a .num_tap_x
You can’t perform that action at this time.
0 commit comments