Skip to content

Commit

Permalink
Disable logging when tests are run
Browse files Browse the repository at this point in the history
This should hopefully fix CI and running in containers that don't
have an active rsyslog daemon.
  • Loading branch information
legoktm committed Dec 14, 2023
1 parent 446c819 commit a75b9f6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion export/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ check-black: ## Check Python source code formatting with black
TESTS ?= tests
.PHONY: test
test: ## Run tests
poetry run pytest -v --cov-report html --cov-report term-missing --cov=securedrop_export $$TESTS
poetry run pytest -v --cov-report html --cov-report term-missing \
--cov=securedrop_export --log-disable=securedrop_export.main $$TESTS

.PHONY: lint
lint: ## Run linter
Expand Down

0 comments on commit a75b9f6

Please sign in to comment.