

def test_edit_rwhois(self):
    result = self.network.edit_rwhois(abuse_email='abuse@test.foo', address1='123 Test Street', address2='Apt. #31', city='Anywhere', company_name='TestLayer', country='US', first_name='Bob', last_name='Bobinson', postal_code='9ba62', private_residence=False, state='TX')
    self.assertEqual(result, True)
    expected = {
        'abuseEmail': 'abuse@test.foo',
        'address1': '123 Test Street',
        'address2': 'Apt. #31',
        'city': 'Anywhere',
        'companyName': 'TestLayer',
        'country': 'US',
        'firstName': 'Bob',
        'lastName': 'Bobinson',
        'postalCode': '9ba62',
        'privateResidenceFlag': False,
        'state': 'TX',
    }
    self.assert_called_with('SoftLayer_Network_Subnet_Rwhois_Data', 'editObject', identifier='id', args=(expected,))

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