

def test_add_subnet_for_ipv4(self):
    result = self.network.add_subnet('public', quantity=4, vlan_id=1234, version=4, test_order=True)
    self.assertEqual(fixtures.SoftLayer_Product_Order.verifyOrder, result)
    result = self.network.add_subnet('public', quantity=4, vlan_id=1234, version=4, test_order=False)
    self.assertEqual(fixtures.SoftLayer_Product_Order.verifyOrder, result)
    result = self.network.add_subnet('global', test_order=True)
    self.assertEqual(fixtures.SoftLayer_Product_Order.verifyOrder, result)

dataset/ETHPy150Open softlayer/softlayer-python/tests/managers/network_tests.py NetworkTests.test_add_subnet_for_ipv4/original