Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
CB-quakemodel committed Mar 30, 2024
1 parent e2c0895 commit 9c59c5e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions openquake/smt/tests/parsers/gem_flatfile_parser_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,11 +66,11 @@ def test_gem_flatfile_parser(self):
removal=True, proxy=True)
with open(os.path.join(self.db_file, "metadatafile.pkl"), "rb") as f:
db = pickle.load(f)

# Should contain 5 records
self.assertEqual(len(db), 5)

# Record IDs should be equal to the specified target IDs
for rec in db:
print(rec.id)
self.assertListEqual([rec.id for rec in db], TARGET_IDS)
del parser

Expand Down

0 comments on commit 9c59c5e

Please sign in to comment.