Skip to content

Commit

Permalink
Update test_common.py
Browse files Browse the repository at this point in the history
  • Loading branch information
ArthurKordes authored Sep 6, 2024
1 parent 332eeb1 commit b984b99
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tests/test_common.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ def test_get_value_from_rule_dict_by_non_existing_key_raises_key_error(


class TestDatasetDict:
expected_dataset_name = "the_rule"
expected_dataset_name = "the_dataset"
expected_layer_name = "brons"
dataset_obj = DatasetDict(name=expected_dataset_name, layer=expected_layer_name)

Expand Down Expand Up @@ -132,12 +132,13 @@ class TestDataQualityRulesDict:
rules_list=expected_rules_list,
)
expected_rules_dict_obj_list = [rules_dict_obj]
expected_dataset_name = "the_rule"
expected_dataset_name = "the_dataset"
expected_layer_name = "brons"
dataset_obj = DatasetDict(
name=expected_dataset_name,
layer=expected_layer_name
)
print(dataset_obj)
data_quality_rules_dict = DataQualityRulesDict(
dataset=dataset_obj,
tables=expected_rules_dict_obj_list
Expand Down

0 comments on commit b984b99

Please sign in to comment.