@pytest.fixture
def quickmark_manager_stub(stubs):
 stub = stubs.QuickmarkManagerStub()
 objreg.register('quickmark-manager', stub)
 (yield stub)
 objreg.delete('quickmark-manager')

@ pytest . fixture def quickmark_manager_stub ( stubs ) : stub = stubs . QuickmarkManagerStub ( ) objreg . register ( 'quickmark-manager' , stub ) ( yield stub ) objreg . delete ( 'quickmark-manager' )
fixture which provides a fake quickmark manager object .