Emptied the opm/__init__.py file and create opm.parser package

This commit is contained in:
Joakim Hove
2019-08-19 15:42:24 +02:00
parent d6cbf47e38
commit 7e775ecd17
22 changed files with 75 additions and 79 deletions

View File

@@ -1,5 +1,5 @@
import unittest
import opm
import opm.parser
class TestProps(unittest.TestCase):
@@ -9,7 +9,7 @@ class TestProps(unittest.TestCase):
self.assertTrue(diff <= epsilon, msg=err_msg)
def setUp(self):
self.spe3 = opm.parse('tests/spe3/SPE3CASE1.DATA').state
self.spe3 = opm.parser.parse('tests/spe3/SPE3CASE1.DATA').state
self.props = self.spe3.props()
def test_repr(self):