style: fix ruff formatting in test_mongo_db.py
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
@@ -532,7 +532,11 @@ def test_load_latest_data_run_boundary_no_skip_or_duplicate(mongo_db):
|
|||||||
def fake_find(collection_name, data_filter, metadata):
|
def fake_find(collection_name, data_filter, metadata):
|
||||||
gt = data_filter.get('timestamp', {}).get('$gt')
|
gt = data_filter.get('timestamp', {}).get('$gt')
|
||||||
all_docs = [
|
all_docs = [
|
||||||
{'name': 'before', 'value': 1, 'timestamp': datetime(2023, 1, 1, 11, 59, 59, tzinfo=UTC)},
|
{
|
||||||
|
'name': 'before',
|
||||||
|
'value': 1,
|
||||||
|
'timestamp': datetime(2023, 1, 1, 11, 59, 59, tzinfo=UTC),
|
||||||
|
},
|
||||||
{'name': 'boundary', 'value': 2, 'timestamp': boundary_timestamp},
|
{'name': 'boundary', 'value': 2, 'timestamp': boundary_timestamp},
|
||||||
{'name': 'after', 'value': 3, 'timestamp': datetime(2023, 1, 1, 12, 0, 1, tzinfo=UTC)},
|
{'name': 'after', 'value': 3, 'timestamp': datetime(2023, 1, 1, 12, 0, 1, tzinfo=UTC)},
|
||||||
]
|
]
|
||||||
|
|||||||
Reference in New Issue
Block a user