Skip to content

Commit 3f4733f

Browse files
committed
Use artifacts dir
1 parent 7f528d9 commit 3f4733f

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

protoplaster/runner/runner.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,6 @@
1919

2020
TOP_LEVEL_TEMPLATE_PATH = "template.md"
2121

22-
LOG_PATH = str(os.getenv("HOME")) + "/.local/share/protoplaster.log"
23-
2422

2523
def list_tests(args):
2624
test_file = TestFile(args.test_dir, args.test_file, args.custom_tests)
@@ -184,7 +182,8 @@ def run_tests(args):
184182
plugins.append(csv_report_gen)
185183

186184
if args.log:
187-
log_report_gen = LogGenerator(LOG_PATH)
185+
log_report_gen = LogGenerator(
186+
f"{args.artifacts_dir}/protoplaster.log")
188187
plugins.append(log_report_gen)
189188

190189
ret = pytest.main(prepare_pytest_args(test_modules, args),

0 commit comments

Comments
 (0)