From 6b8f4cd8b2215356d230b814e600a014a8e95805 Mon Sep 17 00:00:00 2001 From: Jeffrey Aven Date: Wed, 17 Apr 2024 14:14:53 +1000 Subject: [PATCH] 3.5.5 --- README.rst | 2 +- tests/pystackql_tests.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.rst b/README.rst index 9521eb6..d367bf1 100644 --- a/README.rst +++ b/README.rst @@ -194,4 +194,4 @@ To publish the package to PyPI, run the following command: :: - twine upload dist/pystackql-3.5.5.tar.gz + twine upload --config-file .pypirc dist/pystackql-3.5.5.tar.gz diff --git a/tests/pystackql_tests.py b/tests/pystackql_tests.py index 0359d88..9dc69c2 100644 --- a/tests/pystackql_tests.py +++ b/tests/pystackql_tests.py @@ -159,11 +159,11 @@ def test_09_csv_output_with_header(self): @pystackql_test_setup() def test_10_executeStmt(self): okta_result_dict = self.stackql.executeStmt(registry_pull_okta_query) - okta_result = okta_result_dict[0]["message"] + okta_result = okta_result_dict["message"] expected_pattern = registry_pull_resp_pattern("okta") self.assertTrue(re.search(expected_pattern, okta_result), f"Expected pattern not found in result: {okta_result}") github_result_dict = self.stackql.executeStmt(registry_pull_github_query) - github_result = github_result_dict[0]["message"] + github_result = github_result_dict["message"] expected_pattern = registry_pull_resp_pattern("github") self.assertTrue(re.search(expected_pattern, github_result), f"Expected pattern not found in result: {github_result}") print_test_result(f"""Test executeStmt method\nRESULTS:\n{okta_result_dict}\n{github_result_dict}""", True)