Rewrite tests
This commit is contained in:
@@ -1,5 +1,8 @@
|
||||
from pytest import fixture
|
||||
from pathlib import Path
|
||||
|
||||
import pytest
|
||||
|
||||
import ergogen_footprint_converter.main as main
|
||||
|
||||
res_path = "tests/integration/data/simple/"
|
||||
@@ -14,8 +17,8 @@ def out_dir (tmp_path):
|
||||
|
||||
def call_main (in_file, out_dir):
|
||||
args = {
|
||||
"in": res_path + in_file,
|
||||
"out": out_dir
|
||||
"in_file": Path(res_path + in_file),
|
||||
"out": Path(out_dir)
|
||||
}
|
||||
|
||||
main.main(args)
|
||||
|
||||
Reference in New Issue
Block a user