From f958eaf0c4bba980007110141db991226f0afdc7 Mon Sep 17 00:00:00 2001 From: "Marios S. Kyriakou" Date: Tue, 16 Apr 2024 11:48:12 +0300 Subject: [PATCH] Update test_unit_MSX.py --- epyt/tests/test_unit_MSX.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/epyt/tests/test_unit_MSX.py b/epyt/tests/test_unit_MSX.py index 3699b61..41979cc 100644 --- a/epyt/tests/test_unit_MSX.py +++ b/epyt/tests/test_unit_MSX.py @@ -1,5 +1,4 @@ -from epyt.epanet import epanet, epanetmsxapi -from epyt import networks +from epyt import epanet, networks import unittest import os @@ -256,7 +255,7 @@ def test_MSXgetqual(self): inpname = os.path.join(DIRNAME, 'msx-examples', 'net2-cl2.inp') self.epanetClass = epanet(inpname, msx=True) file_path = os.path.join(DIRNAME, 'msx-examples', 'net2-cl2.msx') - self.msxClass = epanetmsxapi(file_path) + self.msxClass = self.epanetClass.loadMSXFile(file_path) self.msxClass.MSXsolveH() self.msxClass.MSXsolveQ() @@ -281,4 +280,4 @@ def test_MSXgetqual(self): if __name__ == "__main__": - unittest.main() \ No newline at end of file + unittest.main()