Skip to content

Commit

Permalink
Replaced typo
Browse files Browse the repository at this point in the history
Signed-off-by: Elena Khaustova <[email protected]>
  • Loading branch information
ElenaKhaustova committed Sep 20, 2024
1 parent fb3cdb0 commit 9be1614
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions tests/io/test_data_catalog.py
Original file line number Diff line number Diff line change
Expand Up @@ -682,8 +682,8 @@ def test_from_correct_config_versioned_warn(
def test_from_correct_config_load_versions_warn(self, correct_config):
correct_config["catalog"]["boats"]["versioned"] = True
version = generate_timestamp()
load_version = {"non-boart": version}
pattern = r"\'load_versions\' keys \[non-boart\] are not found in the catalog\."
load_version = {"non-boat": version}
pattern = r"\'load_versions\' keys \[non-boat\] are not found in the catalog\."
with pytest.raises(DatasetNotFoundError, match=pattern):
DataCatalog.from_config(**correct_config, load_versions=load_version)

Expand Down
4 changes: 2 additions & 2 deletions tests/io/test_kedro_data_catalog.py
Original file line number Diff line number Diff line change
Expand Up @@ -588,9 +588,9 @@ def test_from_correct_config_versioned_warn(
def test_from_correct_config_load_versions_warn(self, correct_config):
correct_config["catalog"]["boats"]["versioned"] = True
version = generate_timestamp()
load_version = {"non-boart": version}
load_version = {"non-boat": version}
pattern = (
r"\'load_versions\' keys \[non-boart\] are not found in the catalog\."
r"\'load_versions\' keys \[non-boat\] are not found in the catalog\."
)
with pytest.raises(DatasetNotFoundError, match=pattern):
KedroDataCatalog.from_config(
Expand Down

0 comments on commit 9be1614

Please sign in to comment.