From 58fe2b9e0a1cd6d2e990adc5fcce61d258e667a8 Mon Sep 17 00:00:00 2001 From: Olli Paakkunainen Date: Tue, 14 Dec 2021 11:18:38 +0900 Subject: [PATCH] Set PYTHONPATH when running unittest --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index eb09766..5f4dbbd 100644 --- a/Makefile +++ b/Makefile @@ -37,7 +37,7 @@ unittest: @printf '\n\n*****************\n' @printf '$(color)Running unittest$(off)\n' @printf '*****************\n' - $(PYTHON) tests/test_unittest.py + PYTHONPATH=$(shell pwd) $(PYTHON) tests/test_unittest.py .PHONY: doctest doctest: