#NEWLINE# def test_create_port_nobound_postcommit( self ) : #NEWLINE# #INDENT# net_ctx = self . _get_network_context ( mocked . APIC_TENANT , mocked . APIC_NETWORK , TEST_SEGMENT1 ) #NEWLINE# port_ctx = self . _get_port_context ( mocked . APIC_TENANT , mocked . APIC_NETWORK , 'vm1' , net_ctx , None , device_owner = 'any' ) #NEWLINE# self . driver . create_port_postcommit ( port_ctx ) #NEWLINE# mgr = self . driver . apic_manager #NEWLINE# self . assertFalse ( mgr . ensure_path_created_for_port . called )