Skip to content

Commit

Permalink
fix test case to fail due to invalid range
Browse files Browse the repository at this point in the history
  • Loading branch information
Aldo Fuster Turpin committed Jun 7, 2022
1 parent 6f15bf7 commit 80ab8ee
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
("should not raise exception when valid IPv4 address", Mock(key='192.168.0.0/28'), "key", None),
("should raise InvalidArgumentValueError when non valid IPv4 address due to beeing a simple string", Mock(key='this is an invalid network'), "key", InvalidArgumentValueError),
("should raise InvalidArgumentValueError when non valid IPv4 address due to invalid network ID", Mock(key='192.168.0.0.0.0/28'), "key", InvalidArgumentValueError),
("should raise InvalidArgumentValueError when non valid IPv4 address due to invalid hostID", Mock(key='192.168.0.0.0.0/2888'), "key", InvalidArgumentValueError),
("should raise InvalidArgumentValueError when non valid IPv4 address due to invalid range of 2888", Mock(key='192.168.0.0/2888'), "key", InvalidArgumentValueError),
("should not raise exception when IPv4 address is None", Mock(key=None), "key", None)
]

Expand Down

0 comments on commit 80ab8ee

Please sign in to comment.