From 34ed61b39610873769cd9ef5486fa9a46363f3ab Mon Sep 17 00:00:00 2001 From: Alex Sherstinsky Date: Tue, 6 Jul 2021 06:24:13 -0700 Subject: [PATCH] [MAINTENANCE] Remove "mostly" from "bobster" test config (#2996) * Remove mostly from bobster test fixture and minor cleanup. --- tests/rule_based_profiler/bobster_user_workflow_fixture.py | 6 +----- .../bobster_user_workflow_verbose_profiler_config.yml | 4 +--- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/tests/rule_based_profiler/bobster_user_workflow_fixture.py b/tests/rule_based_profiler/bobster_user_workflow_fixture.py index 5aac59a37bcf..9f51a6665db1 100644 --- a/tests/rule_based_profiler/bobster_user_workflow_fixture.py +++ b/tests/rule_based_profiler/bobster_user_workflow_fixture.py @@ -6,10 +6,6 @@ @pytest.fixture def bobster_columnar_table_multi_batch_normal_mean_5000_stdev_1000(): - """ - # TODO: ALEX -- Add DocString - """ - verbose_profiler_config_file_path: str = file_relative_path( __file__, "bobster_user_workflow_verbose_profiler_config.yml" ) @@ -25,7 +21,7 @@ def bobster_columnar_table_multi_batch_normal_mean_5000_stdev_1000(): 5000 ) my_row_count_range_rule_expect_table_row_count_to_be_between_expectation_std_value: float = ( - 4.00e2 + 1.0e3 ) my_row_count_range_rule_expect_table_row_count_to_be_between_expectation_num_stds: float = ( 3.00 diff --git a/tests/rule_based_profiler/bobster_user_workflow_verbose_profiler_config.yml b/tests/rule_based_profiler/bobster_user_workflow_verbose_profiler_config.yml index 87fb150bf8d5..a3ada7fb3e46 100644 --- a/tests/rule_based_profiler/bobster_user_workflow_verbose_profiler_config.yml +++ b/tests/rule_based_profiler/bobster_user_workflow_verbose_profiler_config.yml @@ -8,8 +8,7 @@ variables: data_asset_name: my_reports data_connector_query: index: ":-1" - confidence_level: 9.75e-1 - mostly: 1.0 + confidence_level: 9.5e-1 rules: row_count_range_rule: @@ -30,6 +29,5 @@ rules: module_name: great_expectations.rule_based_profiler.expectation_configuration_builder min_value: $parameter.row_count_range.value.min_value max_value: $parameter.row_count_range.value.max_value - mostly: $variables.mostly meta: profiler_details: $parameter.row_count_range.details