-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updated mapping_suite_transformer test
- Loading branch information
Kolea Plesco
committed
Apr 26, 2022
1 parent
05b51a5
commit ee31333
Showing
3 changed files
with
31 additions
and
30 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,40 @@ | ||
import pathlib | ||
from pathlib import Path | ||
|
||
import pytest | ||
|
||
from tests import TEST_DATA_PATH | ||
|
||
|
||
@pytest.fixture | ||
def rml_test_package_path() -> pathlib.Path: | ||
def rml_test_package_path() -> Path: | ||
return TEST_DATA_PATH / "notice_transformer" / "test_repository" / "test_package" | ||
|
||
|
||
@pytest.fixture | ||
def rml_non_existing_test_package_path() -> pathlib.Path: | ||
return TEST_DATA_PATH / "notice_transformer" / "test_repository" / "non_existing_test_package" | ||
def rml_non_existing_test_package_path() -> Path: | ||
return TEST_DATA_PATH / "notice_transformer" / "test_repository" / "non_existing_test_package" | ||
|
||
|
||
@pytest.fixture | ||
def fake_mapping_suite_id() -> str: | ||
return "test_package" | ||
|
||
|
||
@pytest.fixture | ||
def fake_not_mapping_suite_id() -> str: | ||
return "test_not_package" | ||
|
||
|
||
@pytest.fixture | ||
def fake_failed_mapping_suite_id() -> str: | ||
return "test_failed_package" | ||
|
||
|
||
@pytest.fixture | ||
def fake_fail_repository_path() -> Path: | ||
return TEST_DATA_PATH / "notice_transformer" / "test_fail_packages" | ||
|
||
|
||
@pytest.fixture | ||
def fake_repository_path() -> Path: | ||
return TEST_DATA_PATH / "notice_transformer" / "test_repository" |
File renamed without changes.
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