Skip to content

Commit

Permalink
move unit test with /120 case to a separate PR
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastien-rosset committed Feb 1, 2022
1 parent 6bec94e commit 8309327
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions tests/unit/plugins/filter/test_ipsubnet.py
Original file line number Diff line number Diff line change
Expand Up @@ -149,14 +149,6 @@ def test_ipvsubnet_get_subnet(self):
["", "2600:1f1c:1b3:8f00::/56", "129", "0"],
False,
], # Must be /128 or less
[
["", "2600:1f1c:1b3:8f00::/56", "120", "0"],
"2600:1f1c:01b3:8f00::/120",
],
[
["", "2600:1f1c:1b3:8f00::/56", "120", "1"],
"2600:1f1c:01b3:8f00:0000:0000:0000:0100/120",
],
]
for args, expected in test_cases:
self.assertEqual(
Expand Down

0 comments on commit 8309327

Please sign in to comment.