#NEWLINE# @ test . idempotent_id ( '65b9ef75-1911-406a-bbdb-ca1d68d528b0' ) #NEWLINE# def test_policy_association_with_admin_network( self ) : #NEWLINE# #INDENT# policy = self . create_qos_policy ( name = 'test-policy' , description = 'test policy' , shared = False ) #NEWLINE# network = self . create_shared_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 ( retrieved_network . admin_client , network [ 'id' ] )