#NEWLINE# def set_up_expect( self ) : #NEWLINE# #INDENT# tenant_id = self . tenant . id #NEWLINE# api . fwaas . rule_list ( IsA ( http . HttpRequest ) , tenant_id = tenant_id ) . AndReturn ( self . fw_rules . list ( ) ) #NEWLINE# policies = self . fw_policies . list ( ) #NEWLINE# api . fwaas . policy_list ( IsA ( http . HttpRequest ) , tenant_id = tenant_id ) . AndReturn ( tenant_id ) #NEWLINE# firewalls = self . firewalls . list ( ) #NEWLINE# api . fwaas . firewall_list ( IsA ( http . HttpRequest ) , tenant_id = tenant_id ) . AndReturn ( firewalls )