From 9c59c5e9b2174807e632441c1f3aff64fd3e8165 Mon Sep 17 00:00:00 2001 From: unknown Date: Sat, 30 Mar 2024 19:28:21 +0100 Subject: [PATCH] update --- openquake/smt/tests/parsers/gem_flatfile_parser_test.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/openquake/smt/tests/parsers/gem_flatfile_parser_test.py b/openquake/smt/tests/parsers/gem_flatfile_parser_test.py index 8c7c50d11..3a845099c 100644 --- a/openquake/smt/tests/parsers/gem_flatfile_parser_test.py +++ b/openquake/smt/tests/parsers/gem_flatfile_parser_test.py @@ -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