Restored CI testing of status reports

This commit is contained in:
Lew Rossman
2019-05-13 11:05:58 -04:00
parent dae0fc03d1
commit f8cf7e0eb3

View File

@@ -154,7 +154,7 @@ def epanet_report_compare(path_test, path_ref, rtol, atol):
''' '''
HEADER = 10 HEADER = 10
FOOTER = 2 FOOTER = 2
'''
with open(path_test ,'r') as ftest, open(path_ref, 'r') as fref: with open(path_test ,'r') as ftest, open(path_ref, 'r') as fref:
for (test_line, ref_line) in it.izip(hdf.parse(ftest, HEADER, FOOTER)[1], for (test_line, ref_line) in it.izip(hdf.parse(ftest, HEADER, FOOTER)[1],
@@ -162,5 +162,5 @@ def epanet_report_compare(path_test, path_ref, rtol, atol):
if test_line != ref_line: if test_line != ref_line:
return False return False
'''
return True return True