diff --git a/backend/test/test_03_serve.py b/backend/test/test_03_serve.py index 2ea4de7..c0fe27a 100644 --- a/backend/test/test_03_serve.py +++ b/backend/test/test_03_serve.py @@ -640,7 +640,9 @@ def test_insert_metric(setup): assert len(c) == 1 for item in sample_data["metrics"][0]: print(item) - if item == "timestamp": + if item == "_id": + pass + elif item == "timestamp": assert c[0][item].replace(microsecond=0, second=0) == sample_data["metrics"][0][item].replace(microsecond=0,second=0) else: assert c[0][item] == sample_data["metrics"][0][item]