#NEWLINE# def test_get_without_expected( self ) : #NEWLINE# #INDENT# self . mox . StubOutWithMock ( db , 'instance_get_by_uuid' ) #NEWLINE# db . instance_get_by_uuid ( self . context , 'uuid' , columns_to_join = [ ] ) . AndReturn ( self . fake_instance ) #NEWLINE# self . mox . ReplayAll ( ) #NEWLINE# inst = objects . Instance . get_by_uuid ( self . context , 'uuid' , expected_attrs = [ ] ) #NEWLINE# for attr in instance . INSTANCE_OPTIONAL_ATTRS : #NEWLINE# #INDENT# self . assertFalse ( inst . obj_attr_is_set ( attr ) )