test_state.py: uncommented test_summary.
This commit is contained in:
parent
4504b8812f
commit
41a05a7a98
@ -3,13 +3,11 @@ import opm.io
|
|||||||
|
|
||||||
class TestState(unittest.TestCase):
|
class TestState(unittest.TestCase):
|
||||||
|
|
||||||
"""
|
|
||||||
@classmethod
|
@classmethod
|
||||||
def setUpClass(cls):
|
def setUpClass(cls):
|
||||||
cls.spe3 = opm.io.parse('tests/spe3/SPE3CASE1.DATA')
|
cls.spe3 = opm.io.parse('tests/spe3/SPE3CASE1.DATA')
|
||||||
cpa = opm.io.parse('tests/data/CORNERPOINT_ACTNUM.DATA')
|
cpa = opm.io.parse('tests/data/CORNERPOINT_ACTNUM.DATA')
|
||||||
cls.state = cls.spe3.state
|
|
||||||
cls.cp_state = cpa.state
|
|
||||||
|
|
||||||
|
|
||||||
def test_summary(self):
|
def test_summary(self):
|
||||||
@ -18,7 +16,7 @@ class TestState(unittest.TestCase):
|
|||||||
self.assertTrue('WOPR' in smry) # hasKeyword
|
self.assertTrue('WOPR' in smry) # hasKeyword
|
||||||
self.assertFalse('NONO' in smry) # hasKeyword
|
self.assertFalse('NONO' in smry) # hasKeyword
|
||||||
|
|
||||||
"""
|
|
||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
|
Loading…
Reference in New Issue
Block a user