Add tests for jeb_utils.utils.is_valid_host
This commit is contained in:
1 parent
560241179a
commit
5abaa71b27
1 file changed
+1
-1
@@ -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