#NEWLINE# @ defer . inlineCallbacks #NEWLINE# def test_select_one_missing( self ) : #NEWLINE# #INDENT# self . mock_txn . rowcount = 0 #NEWLINE# self . mock_txn . fetchone . return_value = None #NEWLINE# ret = ( yield self . datastore . _simple_select_one ( table = 'tablename' , keyvalues = { #NEWLINE# #INDENT# 'keycol' : 'Not here' , #NEWLINE# #UNINDENT# } , retcols = [ 'colA' ] , allow_none = True ) ) #NEWLINE# self . assertFalse ( self )