@@ -362,7 +362,8 @@ def test_create_options(self):
362362 {'size' : 'Dual Xeon Gold, 384GB Ram, 4x960GB SSD, RAID 10' ,
363363 'value' : 'DGOLD_6140_384GB_4X960GB_SSD_SED_RAID_10' }],
364364 [{'operating_system' : 'Ubuntu / 14.04-64' ,
365- 'value' : 'OS_UBUNTU_14_04_LTS_TRUSTY_TAHR_64_BIT' }],
365+ 'value' : 'OS_UBUNTU_14_04_LTS_TRUSTY_TAHR_64_BIT' ,
366+ 'operatingSystemReferenceCode ' : 'UBUNTU_14_64' }],
366367 [{'port_speed' : '10 Mbps Public & Private Network Uplinks' ,
367368 'value' : '10' }],
368369 [{'extras' : '1 IPv6 Address' , 'value' : '1_IPV6_ADDRESS' }]]
@@ -694,19 +695,19 @@ def test_dns_sync_both(self, confirm_mock):
694695 'getResourceRecords' )
695696 getResourceRecords .return_value = []
696697 createAargs = ({
697- 'type' : 'a' ,
698- 'host' : 'hardware-test1' ,
699- 'domainId' : 12345 , # from SoftLayer_Account::getDomains
700- 'data' : '172.16.1.100' ,
701- 'ttl' : 7200
702- },)
698+ 'type' : 'a' ,
699+ 'host' : 'hardware-test1' ,
700+ 'domainId' : 12345 , # from SoftLayer_Account::getDomains
701+ 'data' : '172.16.1.100' ,
702+ 'ttl' : 7200
703+ },)
703704 createPTRargs = ({
704- 'type' : 'ptr' ,
705- 'host' : '100' ,
706- 'domainId' : 123456 ,
707- 'data' : 'hardware-test1.test.sftlyr.ws' ,
708- 'ttl' : 7200
709- },)
705+ 'type' : 'ptr' ,
706+ 'host' : '100' ,
707+ 'domainId' : 123456 ,
708+ 'data' : 'hardware-test1.test.sftlyr.ws' ,
709+ 'ttl' : 7200
710+ },)
710711
711712 result = self .run_command (['hw' , 'dns-sync' , '1000' ])
712713
@@ -749,12 +750,12 @@ def test_dns_sync_v6(self, confirm_mock):
749750 }
750751 }
751752 createV6args = ({
752- 'type' : 'aaaa' ,
753- 'host' : 'hardware-test1' ,
754- 'domainId' : 12345 , # from SoftLayer_Account::getDomains
755- 'data' : '2607:f0d0:1b01:0023:0000:0000:0000:0004' ,
756- 'ttl' : 7200
757- },)
753+ 'type' : 'aaaa' ,
754+ 'host' : 'hardware-test1' ,
755+ 'domainId' : 12345 , # from SoftLayer_Account::getDomains
756+ 'data' : '2607:f0d0:1b01:0023:0000:0000:0000:0004' ,
757+ 'ttl' : 7200
758+ },)
758759 server .return_value = test_server
759760 result = self .run_command (['hw' , 'dns-sync' , '--aaaa-record' , '1000' ])
760761 self .assert_no_fail (result )
0 commit comments