Skip to content

Commit

Permalink
fix order of tests
Browse files Browse the repository at this point in the history
  • Loading branch information
JSabadin committed Jan 10, 2025
1 parent 37e2ff2 commit 26b806e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ def augmentation_config() -> List[Dict[str, Any]]:
]


@pytest.fixture(scope="session")
@pytest.fixture(scope="function")
def tempdir():
path = Path("tests/data/tempdir")
path.mkdir(parents=True, exist_ok=True)
Expand Down
2 changes: 2 additions & 0 deletions tests/test_data/test_dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -490,6 +490,7 @@ def generator():
)


@pytest.mark.dependency(name="test_clone_dataset")
def test_clone_dataset(
bucket_storage: BucketStorage, dataset_name: str, tempdir: Path
):
Expand Down Expand Up @@ -526,6 +527,7 @@ def generator1():
assert df_cloned.equals(df_original)


@pytest.mark.dependency(depends=["test_clone_dataset"])
def test_merge_datasets(
bucket_storage: BucketStorage, dataset_name: str, tempdir: Path
):
Expand Down

0 comments on commit 26b806e

Please sign in to comment.