def test_gen_ipv4_10(self):

        result = gen_ipaddr(ip3=True, ipv6=False, prefix=[10, 10])
        self.assertTrue(
            len(result.split(".")) == 4,
            "Did not generate a 4-group IPv4 addrss")
        self.assertTrue(result.startswith("10.10."))
        self.assertTrue(result.endswith(".0"))
test the replace of net loc
dataset/ETHPy150Open omaciel/fauxfactory/tests/test_ipaddress.py/TestIpaddr.test_gen_ipv4_10--crossover with--dataset/ETHPy150Open mission-liao/pyswagger/pyswagger/tests/v1_2/test_io.py/SwaggerRequest_Pet_TestCase.test_opt_url_netloc