-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Test case for data manager tools YAML generation.
- Loading branch information
Showing
3 changed files
with
44 additions
and
1 deletion.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
from pathlib import Path | ||
|
||
from ephemeris._config_models import read_tools | ||
from ephemeris._idc_data_managers_to_tools import write_shed_install_conf | ||
from .test_split_genomes import setup_mock_idc_dir | ||
|
||
|
||
def test_idc_lint_valid(tmp_path: Path): | ||
setup_mock_idc_dir(tmp_path) | ||
output_path = tmp_path / "output.yaml" | ||
write_shed_install_conf(tmp_path / "data_managers.yml", output_path) | ||
# validate the generated tools file... | ||
read_tools(output_path) |