#NEWLINE# @ test . idempotent_id ( '1738de5d-0476-4163-9022-5e1b548c208e' ) #NEWLINE# def test_policy_association_with_tenant_network( self ) : #NEWLINE# #INDENT# policy = self . create_qos_policy ( name = 'test-policy' , description = 'test policy' , shared = True ) #NEWLINE# network = self . create_network ( 'test network' , qos_policy_id = policy [ 'id' ] ) #NEWLINE# retrieved_network = self . admin_client . show_network ( network [ 'id' ] ) #NEWLINE# self . assertEqual ( policy [ 'id' ] , retrieved_network [ 'network' ] [ 'qos_policy_id' ] ) #NEWLINE# self . _disassociate_network ( self . client , network [ 'id' ] )