Skip to content

Commit

Permalink
Test non-null replication key override
Browse files Browse the repository at this point in the history
  • Loading branch information
edgarrmondragon committed Nov 20, 2024
1 parent 72478fd commit 3f22f38
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/core/test_streams.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ def test_stream_apply_catalog__singer_standard(stream: Stream):
"breadcrumb": [],
"metadata": {
"table-key-properties": ["id"],
"replication-key": None,
"replication-key": "newReplicationKey",
"forced-replication-method": REPLICATION_FULL_TABLE,
},
},
Expand All @@ -138,7 +138,7 @@ def test_stream_apply_catalog__singer_standard(stream: Stream):
)

assert stream.primary_keys == ["id"]
assert stream.replication_key is None
assert stream.replication_key == "newReplicationKey"
assert stream.replication_method == REPLICATION_FULL_TABLE
assert stream.forced_replication_method == REPLICATION_FULL_TABLE

Expand Down

0 comments on commit 3f22f38

Please sign in to comment.