Skip to content
Snippets Groups Projects
Commit 14f8326a authored by Attila Farkas's avatar Attila Farkas
Browse files

Make creator.py testable

parent e9691477
No related branches found
No related tags found
1 merge request!32Version 2.0.0
import os
from pathlib import Path
from typing import Union, Optional
......@@ -13,6 +14,7 @@ FLAVORS_PATH: Path = CSC_PATH / "conf/flavors.yml"
def _process_topology_path(topology: Union[str, Path]) -> Path:
"""Validate and resolve topology path"""
print(Path("test").resolve())
try:
if isinstance(topology, str):
topology_path: Path = Path(topology).resolve()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment