Get it working!
This commit is contained in:
1 parent
e92994d2f3
commit
a210b47e36
13 files changed
+270
-9
No files matched your search
@@ -0,0 +1,8 @@
|
||||
from openec2.utils.ip import ipv4_to_int, int_to_ipv4
|
||||
|
||||
|
||||
def test_idempotent():
|
||||
ip = "127.0.0.1"
|
||||
ip_int = ipv4_to_int(ip)
|
||||
print(ip_int)
|
||||
assert int_to_ipv4(ip_int) == ip
|
||||
Reference in new issue
Block a user