Skip to content

Commit

Permalink
more verbose tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanmerolle committed Feb 3, 2023
1 parent 3faa61e commit d81c04e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ rebuild: setup makemigrations migrate collectstatic start
.PHONY: test
test: setup
${VENV_PY_PATH} ${NETBOX_MANAGE_PATH}/manage.py makemigrations ${PLUGIN_NAME} --check
${VENV_PY_PATH} ${NETBOX_MANAGE_PATH}/manage.py test ${PLUGIN_NAME}
${VENV_PY_PATH} ${NETBOX_MANAGE_PATH}/manage.py test ${PLUGIN_NAME} -v 2

#relpatch:
# $(eval GSTATUS := $(shell git status --porcelain))
Expand Down
2 changes: 1 addition & 1 deletion test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ doco="docker compose --file docker-compose.yml"
test_netbox_unit_tests() {
echo "⏱ Running NetBox Unit Tests"
$doco run --rm netbox python manage.py makemigrations netbox_acls --check
$doco run --rm netbox python manage.py test netbox_acls
$doco run --rm netbox python manage.py test netbox_acls -v 2
}

test_cleanup() {
Expand Down

0 comments on commit d81c04e

Please sign in to comment.