-
Notifications
You must be signed in to change notification settings - Fork 95
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[PECO-1435] Restore tests.py
to the test suite
#331
Commits on Jan 25, 2024
-
Rename
tests.py
→test_client.py
so it's picked up by pytestSigned-off-by: Jesse Whitehouse <jesse.whitehouse@databricks.com>
Jesse Whitehouse committedJan 25, 2024 Configuration menu - View commit details
-
Copy full SHA for 6c98e82 - Browse repository at this point
Copy the full SHA 6c98e82View commit details -
FAILED tests/unit/test_clientTestSuite.py::ClientTestSuite::test_auth_args - ... FAILED tests/unit/test_clientTestSuite.py::ClientTestSuite::test_authtoken_passthrough FAILED tests/unit/test_clientTestSuite.py::ClientTestSuite::test_close_uses_the_correct_session_id FAILED tests/unit/test_clientTestSuite.py::ClientTestSuite::test_closing_connection_closes_commands FAILED tests/unit/test_clientTestSuite.py::ClientTestSuite::test_context_manager_closes_connection FAILED tests/unit/test_clientTestSuite.py::ClientTestSuite::test_cursor_keeps_connection_alive FAILED tests/unit/test_clientTestSuite.py::ClientTestSuite::test_disable_pandas_respected FAILED tests/unit/test_clientTestSuite.py::ClientTestSuite::test_execute_parameter_passthrough FAILED tests/unit/test_clientTestSuite.py::ClientTestSuite::test_executemany_parameter_passhthrough_and_uses_last_result_set FAILED tests/unit/test_clientTestSuite.py::ClientTestSuite::test_executing_multiple_commands_uses_the_most_recent_command FAILED tests/unit/test_clientTestSuite.py::ClientTestSuite::test_finalizer_closes_abandoned_connection FAILED tests/unit/test_clientTestSuite.py::ClientTestSuite::test_row_number_respected FAILED tests/unit/test_clientTestSuite.py::ClientTestSuite::test_staging_operation_response_is_handled Signed-off-by: Jesse Whitehouse <jesse.whitehouse@databricks.com>
Jesse Whitehouse committedJan 25, 2024 Configuration menu - View commit details
-
Copy full SHA for 1dd41d6 - Browse repository at this point
Copy the full SHA 1dd41d6View commit details -
Fix tests that fail for bad .sessionId mock
This should have been incorporated into #170 Signed-off-by: Jesse Whitehouse <jesse.whitehouse@databricks.com>
Jesse Whitehouse committedJan 25, 2024 Configuration menu - View commit details
-
Copy full SHA for 08baaf6 - Browse repository at this point
Copy the full SHA 08baaf6View commit details -
Since this test was written we now set the user agent and auth provider on every ThriftBackend creation. The fix here is to unpack the remaining call_args into _ with the unpack operator `*` Signed-off-by: Jesse Whitehouse <jesse.whitehouse@databricks.com>
Jesse Whitehouse committedJan 25, 2024 Configuration menu - View commit details
-
Copy full SHA for 2c5e987 - Browse repository at this point
Copy the full SHA 2c5e987View commit details -
Remove test_authtoken_passthrough
This test is superceded by test_access_token_provider Signed-off-by: Jesse Whitehouse <jesse.whitehouse@databricks.com>
Jesse Whitehouse committedJan 25, 2024 Configuration menu - View commit details
-
Copy full SHA for 9088b2c - Browse repository at this point
Copy the full SHA 9088b2cView commit details -
Fix tests failing because mocks didn't tolerate staging ops properties
Signed-off-by: Jesse Whitehouse <jesse.whitehouse@databricks.com>
Jesse Whitehouse committedJan 25, 2024 Configuration menu - View commit details
-
Copy full SHA for 6aa9a8b - Browse repository at this point
Copy the full SHA 6aa9a8bView commit details
Commits on Jan 26, 2024
-
Skip these two tests that fail as it's not worth the time to mock the…
…m rn Signed-off-by: Jesse Whitehouse <jesse.whitehouse@databricks.com>
Jesse Whitehouse committedJan 26, 2024 Configuration menu - View commit details
-
Copy full SHA for 263c231 - Browse repository at this point
Copy the full SHA 263c231View commit details -
Signed-off-by: Jesse Whitehouse <jesse.whitehouse@databricks.com>
Jesse Whitehouse committedJan 26, 2024 Configuration menu - View commit details
-
Copy full SHA for e2ef338 - Browse repository at this point
Copy the full SHA e2ef338View commit details