@@ -177,7 +177,6 @@ def test_handles_no_changes():
177177 assert updates [0 ].state == DataSourceState .VALID
178178 assert updates [0 ].error is None
179179 assert updates [0 ].revert_to_fdv1 is False
180- assert updates [0 ].environment_id is None
181180 assert updates [0 ].change_set is None
182181
183182
@@ -197,7 +196,6 @@ def test_handles_empty_changeset(events): # pylint: disable=redefined-outer-nam
197196 assert updates [0 ].state == DataSourceState .VALID
198197 assert updates [0 ].error is None
199198 assert updates [0 ].revert_to_fdv1 is False
200- assert updates [0 ].environment_id is None
201199
202200 assert updates [0 ].change_set is not None
203201 assert len (updates [0 ].change_set .changes ) == 0
@@ -224,7 +222,6 @@ def test_handles_put_objects(events): # pylint: disable=redefined-outer-name
224222 assert updates [0 ].state == DataSourceState .VALID
225223 assert updates [0 ].error is None
226224 assert updates [0 ].revert_to_fdv1 is False
227- assert updates [0 ].environment_id is None
228225
229226 assert updates [0 ].change_set is not None
230227 assert len (updates [0 ].change_set .changes ) == 1
@@ -256,7 +253,6 @@ def test_handles_delete_objects(events): # pylint: disable=redefined-outer-name
256253 assert updates [0 ].state == DataSourceState .VALID
257254 assert updates [0 ].error is None
258255 assert updates [0 ].revert_to_fdv1 is False
259- assert updates [0 ].environment_id is None
260256
261257 assert updates [0 ].change_set is not None
262258 assert len (updates [0 ].change_set .changes ) == 1
@@ -287,7 +283,6 @@ def test_swallows_goodbye(events): # pylint: disable=redefined-outer-name
287283 assert updates [0 ].state == DataSourceState .VALID
288284 assert updates [0 ].error is None
289285 assert updates [0 ].revert_to_fdv1 is False
290- assert updates [0 ].environment_id is None
291286
292287 assert updates [0 ].change_set is not None
293288 assert len (updates [0 ].change_set .changes ) == 0
@@ -314,7 +309,6 @@ def test_swallows_heartbeat(events): # pylint: disable=redefined-outer-name
314309 assert updates [0 ].state == DataSourceState .VALID
315310 assert updates [0 ].error is None
316311 assert updates [0 ].revert_to_fdv1 is False
317- assert updates [0 ].environment_id is None
318312
319313 assert updates [0 ].change_set is not None
320314 assert len (updates [0 ].change_set .changes ) == 0
@@ -343,7 +337,6 @@ def test_error_resets(events): # pylint: disable=redefined-outer-name
343337 assert updates [0 ].state == DataSourceState .VALID
344338 assert updates [0 ].error is None
345339 assert updates [0 ].revert_to_fdv1 is False
346- assert updates [0 ].environment_id is None
347340
348341 assert updates [0 ].change_set is not None
349342 assert len (updates [0 ].change_set .changes ) == 1
@@ -367,7 +360,6 @@ def test_handles_out_of_order(events): # pylint: disable=redefined-outer-name
367360 assert updates [0 ].state == DataSourceState .INTERRUPTED
368361 assert updates [0 ].change_set is None
369362 assert updates [0 ].revert_to_fdv1 is False
370- assert updates [0 ].environment_id is None
371363
372364 assert updates [0 ].error is not None
373365 assert updates [0 ].error .kind == DataSourceErrorKind .UNKNOWN
@@ -398,7 +390,6 @@ def test_invalid_json_decoding(events): # pylint: disable=redefined-outer-name
398390 assert updates [0 ].state == DataSourceState .INTERRUPTED
399391 assert updates [0 ].change_set is None
400392 assert updates [0 ].revert_to_fdv1 is False
401- assert updates [0 ].environment_id is None
402393
403394 assert updates [0 ].error is not None
404395 assert updates [0 ].error .kind == DataSourceErrorKind .INVALID_DATA
@@ -431,7 +422,6 @@ def test_stops_on_unrecoverable_status_code(
431422 assert updates [0 ].state == DataSourceState .OFF
432423 assert updates [0 ].change_set is None
433424 assert updates [0 ].revert_to_fdv1 is False
434- assert updates [0 ].environment_id is None
435425
436426 assert updates [0 ].error is not None
437427 assert updates [0 ].error .kind == DataSourceErrorKind .ERROR_RESPONSE
0 commit comments