@@ -345,19 +345,19 @@ def test_dns_sync_both(self, confirm_mock):
345345 'getResourceRecords' )
346346 getResourceRecords .return_value = []
347347 createAargs = ({
348- 'type' : 'a' ,
349- 'host' : 'vs-test1' ,
350- 'domainId' : 12345 , # from SoftLayer_Account::getDomains
351- 'data' : '172.16.240.2' ,
352- 'ttl' : 7200
353- },)
348+ 'type' : 'a' ,
349+ 'host' : 'vs-test1' ,
350+ 'domainId' : 12345 , # from SoftLayer_Account::getDomains
351+ 'data' : '172.16.240.2' ,
352+ 'ttl' : 7200
353+ },)
354354 createPTRargs = ({
355- 'type' : 'ptr' ,
356- 'host' : '2' ,
357- 'domainId' : 123456 ,
358- 'data' : 'vs-test1.test.sftlyr.ws' ,
359- 'ttl' : 7200
360- },)
355+ 'type' : 'ptr' ,
356+ 'host' : '2' ,
357+ 'domainId' : 123456 ,
358+ 'data' : 'vs-test1.test.sftlyr.ws' ,
359+ 'ttl' : 7200
360+ },)
361361
362362 result = self .run_command (['vs' , 'dns-sync' , '100' ])
363363
@@ -400,12 +400,12 @@ def test_dns_sync_v6(self, confirm_mock):
400400 }
401401 }
402402 createV6args = ({
403- 'type' : 'aaaa' ,
404- 'host' : 'vs-test1' ,
405- 'domainId' : 12345 ,
406- 'data' : '2607:f0d0:1b01:0023:0000:0000:0000:0004' ,
407- 'ttl' : 7200
408- },)
403+ 'type' : 'aaaa' ,
404+ 'host' : 'vs-test1' ,
405+ 'domainId' : 12345 ,
406+ 'data' : '2607:f0d0:1b01:0023:0000:0000:0000:0004' ,
407+ 'ttl' : 7200
408+ },)
409409 guest .return_value = test_guest
410410 result = self .run_command (['vs' , 'dns-sync' , '--aaaa-record' , '100' ])
411411 self .assert_no_fail (result )
@@ -957,3 +957,7 @@ def test_last_transaction_empty(self):
957957 mock .return_value = vg_return
958958 result = self .run_command (['vs' , 'detail' , '100' ])
959959 self .assert_no_fail (result )
960+
961+ def test_user_access (self ):
962+ result = self .run_command (['vs' , 'access' , '100' ])
963+ self .assert_no_fail (result )
0 commit comments