File tree Expand file tree Collapse file tree 1 file changed +3
-8
lines changed Expand file tree Collapse file tree 1 file changed +3
-8
lines changed Original file line number Diff line number Diff line change 1616
1717GAS_DATA_MINIMAL = ppmc .GasData (GAS_DATA_CTOR_ARG_MINIMAL )
1818
19-
2019class TestGasState :
2120 @staticmethod
2221 def test_ctor_error ():
@@ -36,13 +35,10 @@ def test_ctor_error():
3635 @staticmethod
3736 def test_ctor_valid ():
3837 # arrange
39- pass
40-
41- # act
42- # TODO #123 sut = ppmc.GasState({"gas_mixing_ratio":''})
38+ sut = ppmc .GasState (GAS_DATA_MINIMAL )
4339
4440 # assert
45- # TODO #123 assert isinstance(sut, ppmc.GasState)
41+ assert isinstance (sut , ppmc .GasState )
4642
4743 @staticmethod
4844 @pytest .mark .parametrize ("idx" , (- 1 , 100 ))
@@ -93,7 +89,7 @@ def test_get_items():
9389 @staticmethod
9490 def test_set_item ():
9591 # arrange
96- sut = ppmc .GasState (GAS_DATA_MINIMAL ) # TODO #123
92+ sut = ppmc .GasState (GAS_DATA_MINIMAL )
9793 idx = 0
9894 val = 1234
9995
@@ -111,7 +107,6 @@ def test_get_mix_rats():
111107
112108 assert len (sut .mix_rats ) == len (sut )
113109
114-
115110# @staticmethod
116111# def test_to_json():
117112# # arrange
You can’t perform that action at this time.
0 commit comments