Skip to content

Commit

Permalink
Update test log location
Browse files Browse the repository at this point in the history
  • Loading branch information
TheSchipper committed Mar 30, 2024
1 parent 8e0f806 commit 535dd2a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ dev = [
testpaths = [
"tests/unit"
]
log_file = "logs/pytest.log"
log_file = "pytest.log"
log_file_level = "DEBUG"
log_format = "%(asctime)s %(levelname)s %(message)s"
log_date_format = "%Y-%m-%d %H:%M:%S"
4 changes: 2 additions & 2 deletions tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,13 @@
"class": "logging.handlers.RotatingFileHandler",
"level": "INFO",
"formatter": "simple",
"filename": "logs/unit_test.log",
"filename": "unit_test.log",
},
"log_file_detailed": {
"class": "logging.handlers.RotatingFileHandler",
"level": "DEBUG",
"formatter": "detailed",
"filename": "logs/unit_test_detailed.log",
"filename": "unit_test_detailed.log",
},
},
"loggers": {
Expand Down

0 comments on commit 535dd2a

Please sign in to comment.