forked from composes-toolkit/dissect
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
210 additions
and
144 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
|
||
import py | ||
import pytest | ||
|
||
|
||
@pytest.fixture | ||
def toolkit_dir(): | ||
return py.path.local(__file__).dirpath().join('..', '..') | ||
|
||
|
||
@pytest.fixture | ||
def data_dir(toolkit_dir): | ||
return toolkit_dir.join('resource', 'unittest') | ||
|
||
|
||
@pytest.fixture | ||
def config_dir(tmpdir): | ||
return tmpdir.mkdir('config') | ||
|
||
|
||
@pytest.fixture | ||
def pipelines_test_resources(data_dir): | ||
return data_dir.join('pipelines_test_resources') | ||
|
||
|
||
@pytest.fixture | ||
def sim_input(pipelines_test_resources): | ||
return str(pipelines_test_resources.join('sim_input.txt')) | ||
|
Oops, something went wrong.