Skip to content

Commit

Permalink
Improve test to better show insertion order preservation
Browse files Browse the repository at this point in the history
  • Loading branch information
cccs-jh committed Sep 28, 2023
1 parent 9cedf6f commit cbb272b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test/test_result.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
import pytest

from assemblyline_v4_service.common.result import _pack_tags, _unpack_tags


@pytest.mark.parametrize(
"tags",
[
{"file.string.blacklisted": ["pear", "apple", "banana"]},
{"file.string.blacklisted": ["first", "second"]},
{"file.string.blacklisted": ["second", "first"]},
],
)
def test_pack_unpack_identity(tags):
Expand Down

0 comments on commit cbb272b

Please sign in to comment.