Skip to content

Commit f53bdc5

Browse files
committed
minor changes to tests of gas_state
1 parent fddf716 commit f53bdc5

File tree

1 file changed

+3
-8
lines changed

1 file changed

+3
-8
lines changed

tests/test_gas_state.py

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616

1717
GAS_DATA_MINIMAL = ppmc.GasData(GAS_DATA_CTOR_ARG_MINIMAL)
1818

19-
2019
class 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

0 commit comments

Comments
 (0)