@@ -375,19 +375,19 @@ def test_authorizeIngressRule(self):
375375 )
376376 self .debug ("Created security group with ID: %s" % security_group .id )
377377 # Default Security group should not have any ingress rule
378- sercurity_groups = SecurityGroup .list (
378+ security_groups = SecurityGroup .list (
379379 self .apiclient ,
380380 account = self .account .name ,
381381 domainid = self .account .domainid
382382 )
383383 self .assertEqual (
384- isinstance (sercurity_groups , list ),
384+ isinstance (security_groups , list ),
385385 True ,
386386 "Check for list security groups response"
387387 )
388388
389389 self .assertEqual (
390- len (sercurity_groups ),
390+ len (security_groups ),
391391 2 ,
392392 "Check List Security groups response"
393393 )
@@ -533,19 +533,19 @@ def test_01_default_group_with_egress(self):
533533 self .debug ("Created security group with ID: %s" % security_group .id )
534534
535535 # Default Security group should not have any ingress rule
536- sercurity_groups = SecurityGroup .list (
536+ security_groups = SecurityGroup .list (
537537 self .apiclient ,
538538 account = self .account .name ,
539539 domainid = self .account .domainid
540540 )
541541 self .assertEqual (
542- isinstance (sercurity_groups , list ),
542+ isinstance (security_groups , list ),
543543 True ,
544544 "Check for list security groups response"
545545 )
546546
547547 self .assertEqual (
548- len (sercurity_groups ),
548+ len (security_groups ),
549549 2 ,
550550 "Check List Security groups response"
551551 )
@@ -730,19 +730,19 @@ def test_01_default_group_with_egress(self):
730730 self .debug ("Created security group with ID: %s" % security_group .id )
731731
732732 # Default Security group should not have any ingress rule
733- sercurity_groups = SecurityGroup .list (
733+ security_groups = SecurityGroup .list (
734734 self .apiclient ,
735735 account = self .account .name ,
736736 domainid = self .account .domainid
737737 )
738738 self .assertEqual (
739- isinstance (sercurity_groups , list ),
739+ isinstance (security_groups , list ),
740740 True ,
741741 "Check for list security groups response"
742742 )
743743
744744 self .assertEqual (
745- len (sercurity_groups ),
745+ len (security_groups ),
746746 2 ,
747747 "Check List Security groups response"
748748 )
@@ -910,19 +910,19 @@ def test_revoke_egress_rule(self):
910910 self .debug ("Created security group with ID: %s" % security_group .id )
911911
912912 # Default Security group should not have any ingress rule
913- sercurity_groups = SecurityGroup .list (
913+ security_groups = SecurityGroup .list (
914914 self .apiclient ,
915915 account = self .account .name ,
916916 domainid = self .account .domainid
917917 )
918918 self .assertEqual (
919- isinstance (sercurity_groups , list ),
919+ isinstance (security_groups , list ),
920920 True ,
921921 "Check for list security groups response"
922922 )
923923
924924 self .assertEqual (
925- len (sercurity_groups ),
925+ len (security_groups ),
926926 2 ,
927927 "Check List Security groups response"
928928 )
@@ -1188,19 +1188,19 @@ def test_invalid_account_authroize(self):
11881188 self .debug ("Created security group with ID: %s" % security_group .id )
11891189
11901190 # Default Security group should not have any ingress rule
1191- sercurity_groups = SecurityGroup .list (
1191+ security_groups = SecurityGroup .list (
11921192 self .apiclient ,
11931193 account = self .account .name ,
11941194 domainid = self .account .domainid
11951195 )
11961196 self .assertEqual (
1197- isinstance (sercurity_groups , list ),
1197+ isinstance (security_groups , list ),
11981198 True ,
11991199 "Check for list security groups response"
12001200 )
12011201
12021202 self .assertEqual (
1203- len (sercurity_groups ),
1203+ len (security_groups ),
12041204 2 ,
12051205 "Check List Security groups response"
12061206 )
@@ -1320,19 +1320,19 @@ def test_multiple_account_egress_rule_negative(self):
13201320 self .debug ("Created security group with ID: %s" % security_group .id )
13211321
13221322 # Default Security group should not have any ingress rule
1323- sercurity_groups = SecurityGroup .list (
1323+ security_groups = SecurityGroup .list (
13241324 self .apiclient ,
13251325 account = self .accountA .name ,
13261326 domainid = self .accountA .domainid
13271327 )
13281328 self .assertEqual (
1329- isinstance (sercurity_groups , list ),
1329+ isinstance (security_groups , list ),
13301330 True ,
13311331 "Check for list security groups response"
13321332 )
13331333
13341334 self .assertEqual (
1335- len (sercurity_groups ),
1335+ len (security_groups ),
13361336 2 ,
13371337 "Check List Security groups response"
13381338 )
@@ -1568,19 +1568,19 @@ def test_multiple_account_egress_rule_positive(self):
15681568 self .debug ("Created security group with ID: %s" % security_groupA .id )
15691569
15701570 # Default Security group should not have any ingress rule
1571- sercurity_groups = SecurityGroup .list (
1571+ security_groups = SecurityGroup .list (
15721572 self .apiclient ,
15731573 account = self .accountA .name ,
15741574 domainid = self .accountA .domainid
15751575 )
15761576 self .assertEqual (
1577- isinstance (sercurity_groups , list ),
1577+ isinstance (security_groups , list ),
15781578 True ,
15791579 "Check for list security groups response"
15801580 )
15811581
15821582 self .assertEqual (
1583- len (sercurity_groups ),
1583+ len (security_groups ),
15841584 2 ,
15851585 "Check List Security groups response"
15861586 )
@@ -1594,19 +1594,19 @@ def test_multiple_account_egress_rule_positive(self):
15941594 self .debug ("Created security group with ID: %s" % security_groupB .id )
15951595
15961596 # Default Security group should not have any ingress rule
1597- sercurity_groups = SecurityGroup .list (
1597+ security_groups = SecurityGroup .list (
15981598 self .apiclient ,
15991599 account = self .accountB .name ,
16001600 domainid = self .accountB .domainid
16011601 )
16021602 self .assertEqual (
1603- isinstance (sercurity_groups , list ),
1603+ isinstance (security_groups , list ),
16041604 True ,
16051605 "Check for list security groups response"
16061606 )
16071607
16081608 self .assertEqual (
1609- len (sercurity_groups ),
1609+ len (security_groups ),
16101610 2 ,
16111611 "Check List Security groups response"
16121612 )
@@ -1847,19 +1847,19 @@ def test_start_stop_vm_egress(self):
18471847 self .debug ("Created security group with ID: %s" % security_group .id )
18481848
18491849 # Default Security group should not have any ingress rule
1850- sercurity_groups = SecurityGroup .list (
1850+ security_groups = SecurityGroup .list (
18511851 self .apiclient ,
18521852 account = self .account .name ,
18531853 domainid = self .account .domainid
18541854 )
18551855 self .assertEqual (
1856- isinstance (sercurity_groups , list ),
1856+ isinstance (security_groups , list ),
18571857 True ,
18581858 "Check for list security groups response"
18591859 )
18601860
18611861 self .assertEqual (
1862- len (sercurity_groups ),
1862+ len (security_groups ),
18631863 2 ,
18641864 "Check List Security groups response"
18651865 )
@@ -2037,19 +2037,19 @@ def test_invalid_parameters(self):
20372037 self .debug ("Created security group with ID: %s" % security_group .id )
20382038
20392039 # Default Security group should not have any ingress rule
2040- sercurity_groups = SecurityGroup .list (
2040+ security_groups = SecurityGroup .list (
20412041 self .apiclient ,
20422042 account = self .account .name ,
20432043 domainid = self .account .domainid
20442044 )
20452045 self .assertEqual (
2046- isinstance (sercurity_groups , list ),
2046+ isinstance (security_groups , list ),
20472047 True ,
20482048 "Check for list security groups response"
20492049 )
20502050
20512051 self .assertEqual (
2052- len (sercurity_groups ),
2052+ len (security_groups ),
20532053 2 ,
20542054 "Check List Security groups response"
20552055 )
0 commit comments