From a413530b554129c19762b71d71a1e41cd10ef6fc Mon Sep 17 00:00:00 2001 From: "LB (Ben Johnston)" Date: Thu, 9 Feb 2023 02:31:15 +1000 Subject: [PATCH] Ensure that `file=` will actually work when passing into make test (#49) --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 0752257..354f42a 100644 --- a/Makefile +++ b/Makefile @@ -41,4 +41,4 @@ migrate: ## Migrate the wagtail bakery site migrations docker-compose exec web python manage.py migrate test: ## Run all wagtail tests or pass in a file with `make test file=wagtail.admin.tests.test_name.py` - docker-compose exec -w /code/wagtail web python runtests.py $(FILE) + docker-compose exec -w /code/wagtail web python runtests.py $(file) $(FILE)