#NEWLINE# @ test . idempotent_id ( 'a5539002-5bdb-48b5-b124-e9eedd5975e6' ) #NEWLINE# def test_external_conversion_on_policy_create( self ) : #NEWLINE# #INDENT# net_id = self . _create_network ( external = False ) [ 'id' ] #NEWLINE# self . admin_client . create_rbac_policy ( object_type = 'network' , object_id = self , action = 'access_as_external' , target_tenant = self . client2 . tenant_id ) #NEWLINE# body = self . admin_client . show_network ( net_id ) [ 'network' ] #NEWLINE# self . assertTrue ( body [ 'router:external' ] )