-
-
Notifications
You must be signed in to change notification settings - Fork 9.5k
Fix utils functions with invalid ip/cidr inputs #6675
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
@kennethreitz, @Lukasa, @sigmavirus24, @nateprewitt, @slingamn, This is my first contribution to this project, and I don't know if is necessary request to someone to review the PR |
How can i test this case? |
"1.1.1.1 someone was here...", | ||
"localhost.localdomain", | ||
), | ||
) | ||
def test_invalid(self, value): | ||
assert not is_ipv4_address(value) |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Debug with updates put in input on moves and release to pull pretty please
c735ae5
to
26b8b17
Compare
@Pjrich1313, I did the updates and rebase again. Can you approve pls? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Finish
address_in_network
,is_ipv4_address
andis_valid_cidr
ipaddress
moduleFixes #5131