Testing always failed - #3093
0xNorm opened this issue · 2 comments
I tried submitting pull request many times, but the ci/circleci test always failed.
=================================== FAILURES ===================================
_______________________________ test_uniqueness ________________________________
def test_uniqueness():
input_collections = os.listdir(COLLECTIONS)
print('\n\n')
# add new collections
all_inscription_ids = []
for collection in input_collections:
with open("{}/{}/inscriptions.json".format(COLLECTIONS, collection), "r") as file:
inscriptions = json.load(file)
inscription_ids = []
for x in inscriptions:
inscription_ids.append(x.get('id'))
all_inscription_ids = all_inscription_ids + inscription_ids
duplicates = len(all_inscription_ids) - len(set(all_inscription_ids))
assert duplicates == 0
E assert 10 == 0
tests/test_colllections.py:108: AssertionError
----------------------------- Captured stdout call -----------------------------
=========================== short test summary info ============================
FAILED tests/test_colllections.py::test_uniqueness - assert 10 == 0
========================= 1 failed, 4 passed in 40.33s =========================
Exited with code exit status 1
CircleCI received exit code 1
any tips?
I found out that the inscription.json only contained part of the data(1000/10000), so I updated the file, but it still failed. @MillHaus33 Could you fix it? #3137
#3137