Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
rettigl committed Feb 9, 2025
1 parent 1a3f372 commit fd2b313
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_logging.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ def test_logger_has_base_logger(logger_):

def test_logger_creates_logfile(tmp_path):
logger = setup_logging("test_logger", set_base_handler=True, user_log_path=tmp_path)
log_file = os.path.join(tmp_path, f"sed_{datetime.now().strftime('%Y-%m-%d')}.log")
log_file = os.path.join(tmp_path, f"specsanalyzer_{datetime.now().strftime('%Y-%m-%d')}.log")
assert os.path.exists(log_file)
with open(log_file) as f:
assert f.read() == ""
Expand Down

0 comments on commit fd2b313

Please sign in to comment.