#NEWLINE# def test_dhcp_opts_not_default_gateway_network( self ) : #NEWLINE# #INDENT# expected = 'NW-0,3' #NEWLINE# fixedip = objects . FixedIPList . get_by_network ( self . context , { #NEWLINE# #INDENT# 'id' : 0 , #NEWLINE# #UNINDENT# } ) [ 0 ] #NEWLINE# actual = self . driver . _host_dhcp_opts ( fixedip . virtual_interface_id ) #NEWLINE# self . assertEqual ( expected , actual )