Skip to content

Commit

Permalink
Update test_mapping_collector.py
Browse files Browse the repository at this point in the history
  • Loading branch information
erivlis authored Jul 25, 2024
1 parent 9356751 commit 548c89d
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions tests/test_mapping_collector.py
Original file line number Diff line number Diff line change
Expand Up @@ -150,20 +150,6 @@ def test_collect_duplicate_keys_one_to_one():
assert result == {'key1': 'value2'}


# Collect key-value pairs with duplicate keys in one_to_many mode and verify all values are appended
def test_collect_duplicate_keys_one_to_many():
# Arrange
collector = MappingCollector(MappingCollectorMode.one_to_many)
iterable = [('key1', 'value1'), ('key1', 'value2')]

# Act
collector.collect(iterable)
result = collector.mapping

# Assert
assert result == {'key1': ['value1', 'value2']}


# Returns a string representation with correct mode and mapping
def test_repr_correct_mode_and_mapping():
# Arrange
Expand Down

0 comments on commit 548c89d

Please sign in to comment.