def METHOD_NAME(self):
    origin_query_text = "use database demo;\n" "select * from data"
    query_text = self.query_runner.apply_auto_limit(origin_query_text, True)
    self.assertEqual(origin_query_text + " LIMIT 1000", query_text)