Add tests for jeb_utils.utils.is_valid_host
This commit is contained in:
@@ -37,7 +37,7 @@ import pytest
|
|||||||
('0.0.0.0:65535', False),
|
('0.0.0.0:65535', False),
|
||||||
('0.0.0.0:65536', False),
|
('0.0.0.0:65536', False),
|
||||||
('', False),
|
('', False),
|
||||||
('', False),
|
('', False)
|
||||||
])
|
])
|
||||||
def test_is_valid_host(host, expected):
|
def test_is_valid_host(host, expected):
|
||||||
assert is_valid_host(host) == expected
|
assert is_valid_host(host) == expected
|
||||||
Reference in New Issue
Block a user