Skip to content

Commit

Permalink
[BUGFIX] Release Pipeline Fix (#7575)
Browse files Browse the repository at this point in the history
Co-authored-by: Chetan Kini <chetan@superconductive.com>
  • Loading branch information
William Shin and cdkini committed Apr 6, 2023
1 parent 0d4e54e commit b0f8a62
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
6 changes: 3 additions & 3 deletions ci/azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -443,9 +443,9 @@ stages:
Python310:
python.version: '3.10'
constraints: 'ci/constraints-test/py310-min-install.txt'
Pandas20:
python.version: '3.9'
constraints: 'ci/constraints-test/pandas2-min-install.txt'
# Pandas20:
# python.version: '3.9'
# constraints: 'ci/constraints-test/pandas2-min-install.txt'
variables:
IMAGE_SUFFIX: $[ dependencies.make_suffix.outputs['suffix.IMAGE_SUFFIX'] ]
steps:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,11 @@
ExpectationSuite,
ExpectationValidationResult,
)
from great_expectations.core.batch import RuntimeBatchRequest
from great_expectations.data_context import CloudDataContext
from great_expectations.data_context.cloud_constants import GXCloudRESTResource
from great_expectations.data_context.types.refs import GXCloudResourceRef
from great_expectations.render import RenderedAtomicContent
from great_expectations.validator.validator import Validator
from great_expectations.data_context import CloudDataContext


@pytest.mark.cloud
Expand All @@ -34,12 +33,12 @@ def test_cloud_backed_data_context_save_expectation_suite_include_rendered_conte
)

with mock.patch(
"great_expectations.data_context.store.gx_cloud_store_backend.GXCloudStoreBackend.list_keys"
"great_expectations.data_context.store.gx_cloud_store_backend.GXCloudStoreBackend.has_key"
), mock.patch(
"great_expectations.data_context.store.gx_cloud_store_backend.GXCloudStoreBackend._set",
return_value=cloud_ref,
):
expectation_suite: ExpectationSuite = context.add_expectation_suite(
expectation_suite: ExpectationSuite = context.add_or_update_expectation_suite(
"test_suite"
)
expectation_suite.expectations.append(
Expand Down Expand Up @@ -114,7 +113,8 @@ def test_cloud_backed_data_context_expectation_validation_result_include_rendere
)

with mock.patch(
"great_expectations.data_context.store.gx_cloud_store_backend.GXCloudStoreBackend.list_keys"
"great_expectations.data_context.store.gx_cloud_store_backend.GXCloudStoreBackend.has_key",
return_value=False,
), mock.patch(
"great_expectations.data_context.store.gx_cloud_store_backend.GXCloudStoreBackend._set"
):
Expand Down

0 comments on commit b0f8a62

Please sign in to comment.