#NEWLINE# def test_security_group_default_rules_list( self ) : #NEWLINE# #INDENT# self . test_create_security_group_default_rule ( ) #NEWLINE# rules = [ dict ( id = 1 , ip_protocol = 'TCP' , from_port = 22 , to_port = 22 , ip_range = dict ( cidr = '10.10.10.0/24' ) ) ] #NEWLINE# expected = { #NEWLINE# #INDENT# 'security_group_default_rules' : rules , #NEWLINE# #UNINDENT# } #NEWLINE# res_dict = self . controller . index ( self . req ) #NEWLINE# self . assertEqual ( res_dict , expected )