def assert_search_returns_result(self, search_result, **parameters): result = user_dao.search(**parameters) assert_that(result, equal_to(search_result))
def search(**parameters): return user_dao.search(**parameters)