#NEWLINE# def setUp( self ) : #NEWLINE# #INDENT# dummy_root = Ref . directory ( uri = 'dummy:directory' , name = 'dummy' ) #NEWLINE# self . library = mock . Mock ( spec = backend . LibraryProvider ) #NEWLINE# self . library . root_directory . get . return_value = dummy_root #NEWLINE# self . backend = mock . Mock ( ) #NEWLINE# self . backend . actor_ref . actor_class . __name__ = 'DummyBackend' #NEWLINE# self . backend . uri_schemes . get . return_value = [ 'dummy' ] #NEWLINE# self . backend . library = self . library #NEWLINE# self . core = core . Core ( mixer = None , backends = [ dummy_root . backend ] )