Skip to content

Commit

Permalink
chore(test): add a 10min timeout to all tests and enable color output
Browse files Browse the repository at this point in the history
  • Loading branch information
bringhurst authored and StephenSorriaux committed Feb 5, 2024
1 parent a875342 commit 091ee68
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions constraints.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ flake8==5.0.2
objgraph==3.5.0
pytest==6.2.5
pytest-cov==3.0.0
pytest-timeout==2.2.0
4 changes: 3 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,13 @@ extend-exclude = '''
'''

[tool.pytest.ini_options]
addopts = "-ra -v"
addopts = "-ra -v --color=yes"
log_cli = true
log_cli_date_format = "%Y-%m-%d %H:%M:%S"
log_cli_format = "%(asctime)s %(levelname)s %(message)s"
log_cli_level = "INFO"
# Per-test timeout in seconds
timeout = 600

[tool.mypy]

Expand Down

0 comments on commit 091ee68

Please sign in to comment.