# Path: luna/utils/ip.py
# def ntoa(num_ip, ver=4):
# def aton(ip, ver=4):
# def reltoa(num_net, rel_ip, ver):
# def atorel(ip, num_net, prefix, ver=4):
# def get_num_subnet(ip, prefix, ver=4):
# def ip_in_net(ip, num_net, prefix, ver=4):
# def guess_ns_hostname():
# def get_ip_version(ip):
# def ipv6_unwrap(ip):


from mock import patch
from luna.utils import ip
import unittest



class UtilsIPTestsV4(unittest.TestCase):

    def setUp(self):
        print

    def test_aton_with_valid_ip(self):

# Path: luna/utils/ip.py
# def ntoa(num_ip, ver=4):
# def aton(ip, ver=4):
# def reltoa(num_net, rel_ip, ver):
# def atorel(ip, num_net, prefix, ver=4):
# def get_num_subnet(ip, prefix, ver=4):
# def ip_in_net(ip, num_net, prefix, ver=4):
# def guess_ns_hostname():
# def get_ip_version(ip):
# def ipv6_unwrap(ip):


# Path: tests/unittests/test_utils_ip.py
from mock import patch
from luna.utils import ip
import unittest




class UtilsIPTestsV4(unittest.TestCase):

    def setUp(self):
        print

    def test_aton_with_valid_ip(self):

        self.assertEqual(ip.aton('10.0.0.1'), 167772161)