Skip to content

Commit

Permalink
ignore
Browse files Browse the repository at this point in the history
  • Loading branch information
Kilo59 committed Mar 30, 2024
1 parent dc39c36 commit cd8ef33
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 6 deletions.
8 changes: 4 additions & 4 deletions tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -926,7 +926,7 @@ def titanic_pandas_data_context_with_v013_datasource_with_checkpoints_v1_with_em
),
)

context = get_context(context_root_dir=context_path)
context = get_context(context_root_dir=context_path, mode="file")
assert context.root_directory == context_path

datasource_config: str = f"""
Expand Down Expand Up @@ -1398,7 +1398,7 @@ def deterministic_asset_data_connector_context(
)
),
)
context = get_context(context_root_dir=context_path)
context = get_context(context_root_dir=context_path, mode="file")
assert context.root_directory == context_path

datasource_config = f"""
Expand Down Expand Up @@ -1521,7 +1521,7 @@ def titanic_data_context_with_fluent_pandas_datasources_with_checkpoints_v1_with
),
)

context = get_context(context_root_dir=context_path)
context = get_context(context_root_dir=context_path, mode="file")
assert context.root_directory == context_path

path_to_folder_containing_csv_files = pathlib.Path(data_path)
Expand Down Expand Up @@ -2046,7 +2046,7 @@ def titanic_data_context(tmp_path_factory) -> FileDataContext:
titanic_csv_path,
str(os.path.join(context_path, "..", "data", "Titanic.csv")), # noqa: PTH118
)
context = get_context(context_root_dir=context_path)
context = get_context(context_root_dir=context_path, mode="file")
project_manager.set_project(context)
return context

Expand Down
5 changes: 4 additions & 1 deletion tests/test_fixtures/custom_pandas_dataset.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
from great_expectations.dataset import MetaPandasDataset, PandasDataset
from great_expectations.dataset import (
MetaPandasDataset, # type: ignore[attr-defined]
PandasDataset, # type: ignore[attr-defined]
)


class CustomPandasDataset(PandasDataset):
Expand Down
2 changes: 1 addition & 1 deletion tests/test_fixtures/custom_sparkdf_dataset.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import numpy as np

from great_expectations.dataset import Dataset, SparkDFDataset
from great_expectations.dataset import Dataset, SparkDFDataset # type: ignore[attr-defined]


class CustomSparkDFDataset(SparkDFDataset):
Expand Down

0 comments on commit cd8ef33

Please sign in to comment.