File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- from PySALESetup .constants import PACKAGE_ROOT_DIRECTORY , \
2- ASTEROID_TEMPLATE_PATH , \
1+ from PySALESetup .constants import ASTEROID_TEMPLATE_PATH , \
32 ADDITIONAL_TEMPLATE_PATH , \
43 GRAIN_LIBRARY_PATH
54import pathlib
65import pytest
76
87
98class TestPaths :
10- @pytest .mark .parametrize ('directory' , [PACKAGE_ROOT_DIRECTORY ,
11- ASTEROID_TEMPLATE_PATH ,
9+ @pytest .mark .parametrize ('directory' , [ASTEROID_TEMPLATE_PATH ,
1210 ADDITIONAL_TEMPLATE_PATH ,
1311 GRAIN_LIBRARY_PATH ])
1412 def test_is_path (self , directory ):
1513 assert isinstance (directory , pathlib .Path )
1614
17- @pytest .mark .parametrize ('directory' , [PACKAGE_ROOT_DIRECTORY ,
18- GRAIN_LIBRARY_PATH ])
15+ @pytest .mark .parametrize ('directory' , [GRAIN_LIBRARY_PATH ])
1916 def test_is_directory (self , directory ):
2017 assert directory .is_dir ()
2118
You can’t perform that action at this time.
0 commit comments