Skip to content

Commit

Permalink
fix(mnw2): fix issues with files with empty lines
Browse files Browse the repository at this point in the history
  • Loading branch information
jdhughes-usgs committed Nov 22, 2019
1 parent ecbdbd9 commit 6791735
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions autotest/t027_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -325,10 +325,14 @@ def test_blank_lines():

wellids2 = list(spd['wellid'])
emsg = 'incorrect keys returned from load mnw2 stress period data'
for wellid, wellid2 in zip(wellids, wellids2):
emsg += '\n {} -- {}'.format(wellid, wellid2)
assert wellids2 == wellids, emsg

rates2 = list(spd['qdes'])
emsg = 'incorrect qdes rates returned from load mnw2 stress period data'
for rate, rate2 in zip(rates, rates2):
emsg += '\n {} -- {}'.format(rate, rate2)
assert rates2 == rates, emsg

return
Expand Down

0 comments on commit 6791735

Please # to comment.