def METHOD_NAME(self):
    origin_query_text = "select * from table1;\n" "select * from table2"
    query_text = self.query_runner.apply_auto_limit(origin_query_text, True)
    self.assertEqual("select * from table1;\nselect * from table2 LIMIT 1000", query_text)