File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -87,10 +87,14 @@ def test_bundle_hashes():
8787 file_hashes = prepare_bundle_hashes (bundle_files )
8888
8989 assert len (file_hashes ) == 9
90- assert file_hashes [0 ][1 ] == '9bf5582f88c6f5a93207efc66b3df6dd36b16de3807f93894b58baa90735b91d' \
91- and 'AnnotatorTest.cpp' in file_hashes [0 ][0 ]
92- assert file_hashes [1 ][1 ] == '6f8d7925b5c86bd6d31b0b23bdce1dcfc94e28a1d5ebdc0ba91fac7dc7e95657' \
93- and 'db.js' in file_hashes [1 ][0 ]
90+
91+ annotator_app_file = next ((f for f in file_hashes if 'AnnotatorTest.cpp' in f [0 ]), None )
92+ assert 'AnnotatorTest.cpp' in annotator_app_file [0 ]
93+ assert annotator_app_file [1 ] == '9bf5582f88c6f5a93207efc66b3df6dd36b16de3807f93894b58baa90735b91d'
94+
95+ db_file = next ((f for f in file_hashes if 'db.js' in f [0 ]), None )
96+ assert 'db.js' in db_file [0 ]
97+ assert db_file [1 ] == '6f8d7925b5c86bd6d31b0b23bdce1dcfc94e28a1d5ebdc0ba91fac7dc7e95657'
9498
9599 return file_hashes
96100
You can’t perform that action at this time.
0 commit comments