-
Notifications
You must be signed in to change notification settings - Fork 90
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Merel Theisen <merel.theisen@quantumblack.com>
- Loading branch information
Showing
3 changed files
with
36 additions
and
2 deletions.
There are no files selected for viewing
34 changes: 34 additions & 0 deletions
34
kedro-datasets/kedro_datasets_experimental/tests/conftest.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
""" | ||
This file contains the fixtures that are reusable by any tests within | ||
this directory. You don't need to import the fixtures as pytest will | ||
discover them automatically. More info here: | ||
https://docs.pytest.org/en/latest/fixture.html | ||
""" | ||
|
||
from kedro.io.core import generate_timestamp | ||
from pytest import fixture | ||
|
||
|
||
@fixture(params=[None]) | ||
def load_version(request): | ||
return request.param | ||
|
||
|
||
@fixture(params=[None]) | ||
def save_version(request): | ||
return request.param or generate_timestamp() | ||
|
||
|
||
@fixture(params=[None]) | ||
def load_args(request): | ||
return request.param | ||
|
||
|
||
@fixture(params=[None]) | ||
def save_args(request): | ||
return request.param | ||
|
||
|
||
@fixture(params=[None]) | ||
def fs_args(request): | ||
return request.param |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters