Assert that invoking fn() raises an ImpalaBeeswaxException with an invalid query handle error.
(self, fn)
| 82 | unset_user_client.close() |
| 83 | |
| 84 | def _assert_invalid_handle(self, fn): |
| 85 | """Assert that invoking fn() raises an ImpalaBeeswaxException with an invalid query |
| 86 | handle error.""" |
| 87 | try: |
| 88 | fn() |
| 89 | assert False, "Expected invalid handle" |
| 90 | except IMPALA_CONNECTION_EXCEPTION as e: |
| 91 | assert "Query id" in str(e) and "not found" in str(e), str(e) |
| 92 | |
| 93 | def _assert_profile_access_denied(self, fn): |
| 94 | """Assert that invoking fn() raises an ImpalaBeeswaxException with the error |
no test coverage detected