def test_get_random_response(self): statement_list = [ Statement(text='This is a phone.'), Statement(text='A what?'), Statement(text='A phone.') ] output = response_selection.get_random_response(Statement(text='Hello'), statement_list) self.assertTrue(output)
def test_get_random_response(self): statement_list = [ Statement('This is a phone.'), Statement('A what?'), Statement('A phone.') ] output = response_selection.get_random_response(Statement('Hello'), statement_list) self.assertTrue(output)