Skip to content

Commit

Permalink
more strategy cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
menzenski committed Feb 16, 2024
1 parent b1f293b commit 0648fff
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions tests/utils_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,6 @@ def test_that_resume_after_is_returned_on_mongo_3_6_if_start_after_is_set() -> N
assert get_resume_strategy(mongo_version, change_stream_resume_strategy) == ResumeStrategy.RESUME_AFTER


def test_that_resume_after_is_returned_on_mongo_3_6_if_start_at_operation_time_is_set() -> None:
"""Test that resume_after is returned for MongoDB version 3.6 even though start_at_operation_time was configured"""
mongo_version: MongoVersion = (3, 6)
change_stream_resume_strategy: str = "start_at_operation_time"
assert get_resume_strategy(mongo_version, change_stream_resume_strategy) == ResumeStrategy.RESUME_AFTER


def test_that_resume_after_is_returned_on_mongo_3_6() -> None:
"""Test that resume_after is returned for MongoDB version 3.6 when resume_after is configured"""
mongo_version: MongoVersion = (3, 6)
Expand Down

0 comments on commit 0648fff

Please sign in to comment.