-
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.
Fixed issue with detection of duplicated results
- Loading branch information
Showing
2 changed files
with
34 additions
and
10 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 |
---|---|---|
@@ -0,0 +1,16 @@ | ||
from gaitmap_bench import is_config_set, config | ||
from gaitmap_bench.docu_utils import set_docs_config | ||
from gaitmap_challenges.results import get_all_result_paths | ||
from gaitmap_challenges.stride_segmentation.egait_segmentation_validation_2014_original_label import Challenge | ||
import pytest | ||
|
||
|
||
@pytest.fixture(scope="module", autouse=True) | ||
def _config(): | ||
is_config_set() or set_docs_config() | ||
|
||
|
||
def test_multi_version_results(recwarn): | ||
assert len(recwarn) == 0 | ||
get_all_result_paths(Challenge, config().results_dir) | ||
assert len(recwarn) == 0 |
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