mirror of
https://github.com/OpenFreeEnergy/openfe.git
synced 2026-06-04 22:34:24 +08:00
14 lines
324 B
Python
14 lines
324 B
Python
import os
|
|
import pathlib
|
|
from importlib import resources
|
|
|
|
from openfecli.parameters.output_dir import get_dir
|
|
|
|
|
|
def test_get_output_dir():
|
|
with resources.files("openfe.tests") as dir_path:
|
|
out_dir = get_dir(dir_path, None)
|
|
|
|
assert isinstance(out_dir, pathlib.Path)
|
|
assert out_dir.parent.exists()
|