Match luketainton/template

This commit is contained in:
2022-04-30 12:49:47 +01:00
parent 67a75927c8
commit c5e28549eb
5 changed files with 65 additions and 7 deletions

0
tests/__init__.py Normal file
View File

View File

@@ -0,0 +1,9 @@
#!/usr/bin/env python3
"""Test cases for main.py."""
from app.main import ipv4_to_ipv6
def test_ipv4_to_ipv6():
result = ipv4_to_ipv6('192.168.0.1')
assert result == "2002:c0a8:1::/128"