Skip to content

Commit

Permalink
Update test_unit_MSX.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Mariosmsk committed Apr 16, 2024
1 parent 427f4bf commit f958eaf
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions epyt/tests/test_unit_MSX.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
from epyt.epanet import epanet, epanetmsxapi
from epyt import networks
from epyt import epanet, networks
import unittest
import os

Expand Down Expand Up @@ -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()
Expand All @@ -281,4 +280,4 @@ def test_MSXgetqual(self):


if __name__ == "__main__":
unittest.main()
unittest.main()

0 comments on commit f958eaf

Please sign in to comment.