Skip to content

Commit

Permalink
Merge pull request #148 from fosslight/dev_fixTestLog
Browse files Browse the repository at this point in the history
Fix cli_test log path
  • Loading branch information
JustinWonjaePark authored Oct 26, 2023
2 parents 440b171 + 0a7b783 commit 70781d2
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests/cli_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,9 @@ def main():

path_to_find_bin = os.path.abspath("tests/test_files/test")
_start_time = datetime.now().strftime('%y%m%d_%H%M')
output_file_name = ""

fosslight_report_name = "test_result_func_call/result"
output_dir = os.path.dirname(os.path.abspath(output_file_name))
output_dir = os.path.abspath(fosslight_report_name)

logger, result_item = init_log(os.path.join(output_dir, "fosslight_log_"+_start_time+".txt"))

Expand Down

0 comments on commit 70781d2

Please sign in to comment.