Get it working!

This commit is contained in:
PapaTutuWawa committed 2025-03-30 01:37:39 +01:00
1 parent e92994d2f3
commit a210b47e36
13 files changed
+270 -9

No files matched your search

+8
View File
@@ -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