Skip to content

Commit

Permalink
tests: Remove fields with default values
Browse files Browse the repository at this point in the history
  • Loading branch information
jodal committed Aug 20, 2020
1 parent 33b685d commit 196965e
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 9 deletions.
1 change: 0 additions & 1 deletion tests/gs1/test_element_strings.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
prefix=GS1Prefix(value="703", usage="GS1 Norway"),
payload="703206980498",
check_digit=8,
packaging_level=None,
),
),
),
Expand Down
2 changes: 0 additions & 2 deletions tests/gs1/test_messages.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,7 @@
prefix=GS1Prefix(value="703", usage="GS1 Norway"),
payload="703206980498",
check_digit=8,
packaging_level=None,
),
date=None,
),
GS1ElementString(
ai=GS1ApplicationIdentifier(
Expand Down
6 changes: 0 additions & 6 deletions tests/gtin/test_parse.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,6 @@ def test_parse_gtin_8(value: str) -> None:
prefix=GS1Prefix(value="963", usage="Global Office - GTIN-8"),
payload="9638507",
check_digit=4,
packaging_level=None,
)


Expand All @@ -89,7 +88,6 @@ def test_parse_gtin_12_without_leading_zero(value: str) -> None:
prefix=GS1Prefix(value="123", usage="GS1 US"),
payload="12360105707",
check_digit=2,
packaging_level=None,
)


Expand All @@ -111,7 +109,6 @@ def test_parse_gtin_12_with_1_leading_zero(value: str) -> None:
prefix=GS1Prefix(value="036", usage="GS1 US"),
payload="03600029145",
check_digit=2,
packaging_level=None,
)


Expand All @@ -133,7 +130,6 @@ def test_parse_gtin_12_with_2_leading_zero(value: str) -> None:
prefix=GS1Prefix(value="006", usage="GS1 US"),
payload="00600029145",
check_digit=5,
packaging_level=None,
)


Expand All @@ -155,7 +151,6 @@ def test_parse_gtin_12_with_3_leading_zero(value: str) -> None:
prefix=GS1Prefix(value="0009", usage="GS1 US"),
payload="00090291451",
check_digit=1,
packaging_level=None,
)


Expand All @@ -175,7 +170,6 @@ def test_parse_gtin_13(value: str) -> None:
prefix=GS1Prefix(value="590", usage="GS1 Poland"),
payload="590123412345",
check_digit=7,
packaging_level=None,
)


Expand Down

0 comments on commit 196965e

Please sign in to comment.