#NEWLINE# def test_create_external_network_postcommit( self ) : #NEWLINE# #INDENT# ctx = self . _get_network_context ( mocked . APIC_TENANT , mocked . APIC_NETWORK , TEST_SEGMENT1 , external = True ) #NEWLINE# mgr = self . driver . apic_manager #NEWLINE# self . driver . create_network_postcommit ( ctx ) #NEWLINE# self . assertFalse ( mgr . ensure_bd_created_on_apic . called ) #NEWLINE# self . assertFalse ( mgr . ensure_epg_created . called )