(cls)
| 139 | |
| 140 | @classmethod |
| 141 | def add_test_dimensions(cls): |
| 142 | super(TestImpalaShell, cls).add_test_dimensions() |
| 143 | # Limit to uncompressed text with default exec options |
| 144 | cls.ImpalaTestMatrix.add_dimension( |
| 145 | create_uncompressed_text_dimension(cls.get_workload())) |
| 146 | cls.ImpalaTestMatrix.add_dimension(create_single_exec_option_dimension()) |
| 147 | # Run with both beeswax and HS2 to ensure that behaviour is the same. |
| 148 | cls.ImpalaTestMatrix.add_dimension(create_client_protocol_dimension()) |
| 149 | cls.ImpalaTestMatrix.add_dimension(create_client_protocol_strict_dimension()) |
| 150 | cls.ImpalaTestMatrix.add_constraint(lambda v: |
| 151 | v.get_value('protocol') != 'beeswax' or not v.get_value('strict_hs2_protocol')) |
| 152 | # Test combination of Python versions and tarball/PyPI |
| 153 | cls.ImpalaTestMatrix.add_dimension(create_impala_shell_executable_dimension()) |
| 154 | |
| 155 | def test_no_args(self, vector): |
| 156 | args = ['-q', DEFAULT_QUERY] |
nothing calls this directly
no test coverage detected