#NEWLINE# def test_empty_response_is_false( dummy_response ) : #NEWLINE# #INDENT# dummy_response [ 'hits' ] [ 'hits' ] = [ ] #NEWLINE# res = result . Response ( dummy_response ) #NEWLINE# assert ( not res )