Build a query by stripping comments and trailing newlines and semi-colons.
(query_section_text)
| 40 | class QueryTestSectionReader(object): |
| 41 | @staticmethod |
| 42 | def build_query(query_section_text): |
| 43 | """Build a query by stripping comments and trailing newlines and semi-colons.""" |
| 44 | query_section_text = remove_comments(query_section_text) |
| 45 | return query_section_text.rstrip("\n;") |
| 46 | |
| 47 | @staticmethod |
| 48 | def get_table_name_components(table_format, table_name, scale_factor=''): |
no test coverage detected