#NEWLINE# def _makeOneWithMockQueue( self , queue_return ) : #NEWLINE# #INDENT# from gcloud._testing import _Monkey #NEWLINE# from gcloud.bigtable.happybase import pool as MUT #NEWLINE# size = ( - 1 ) #NEWLINE# cluster = object ( ) #NEWLINE# with _Monkey ( MUT , _MIN_POOL_SIZE = size ) : #NEWLINE# #INDENT# pool = self . _makeOne ( size , cluster = cluster ) #NEWLINE# #UNINDENT# pool . _queue = _Queue ( queue_return ) #NEWLINE# return pool