File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
scaleway/scaleway/mongodb/v1/tests Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change 1- import os
21from datetime import datetime , timedelta , timezone
32
43import pytest
@@ -16,9 +15,8 @@ def test_create_snapshot_with_naive_expires_at_vcr() -> None:
1615 client = initialize_client_test ()
1716 api = MongodbUtilsV1API (client , bypass_validation = True )
1817
19- instance_id = os .environ .get ("SCW_TEST_MONGODB_INSTANCE_ID" )
20- if not instance_id :
21- pytest .skip ("SCW_TEST_MONGODB_INSTANCE_ID not set for recording" )
18+ # Fixed value to match cassette; record once locally, then CI replays
19+ instance_id = "00000000-0000-0000-0000-000000000000"
2220
2321 # Naive datetime should be handled as UTC by the utils API
2422 naive_dt = datetime .now ().replace (tzinfo = None ) + timedelta (days = 1 )
You can’t perform that action at this time.
0 commit comments