#NEWLINE# def test_get_all_devices( self ) : #NEWLINE# #INDENT# ( veth1 , veth2 ) = self . useFixture ( net_helpers . VethFixture ( ) ) . ports #NEWLINE# macvtap = self . useFixture ( net_helpers . MacvtapFixture ( src_dev = veth1 . name , mode = 'bridge' , prefix = constants . MACVTAP_DEVICE_PREFIX ) ) . ip_dev #NEWLINE# self . assertEqual ( set ( [ macvtap . link . address ] ) , self . mgr . get_all_devices ( ) )