Skip to content

Commit

Permalink
Order of outputs is not guaranteed, so sort them.
Browse files Browse the repository at this point in the history
  • Loading branch information
benmwebb committed Nov 12, 2016
1 parent cd1ba41 commit a06fd1b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/test_res_parser_bmi.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ def test_res_parser(self):
shutil.copy(os.path.join(TOPDIR, 'test', 'input', inp), '.')
res_parser_bmi.res_parser('XXX_mdl')
with open('XXX_mdl.bmiftr') as fh:
data = fh.readlines()
data = sorted(fh.readlines())
self.assertEqual(len(data), 3)
self.assertEqual(data[2][:50],
self.assertEqual(data[1][:50],
'XXX_mdl\tALA\t1\tA\t2.298\t106.4\t-10.77\t0.0\t'
'U\t0.17\t0.0\t')

Expand Down

0 comments on commit a06fd1b

Please sign in to comment.