diff --git a/Makefile b/Makefile index ed5e1e770fd60dc2048fd5b9df7dd13cb8bce239..4fa814ec02044813229c1adb58d032a0e20bfca0 100644 --- a/Makefile +++ b/Makefile @@ -1,3 +1,4 @@ reinstall: - pip uninstall nginx-redirector -y && python setup.py install && redirector-config --edit nginx_dir /home/kantegory/pvt/redirector-tests - + pip uninstall nginx-redirector -y && python setup.py install +test: + MAPS_DIR=/home/kantegory/pvt/nginx-redirector/redirector/tests/nginx_test_case/maps CONFIG_DIR=/home/kantegory/pvt/nginx-redirector/redirector/tests/nginx_test_case/location-includes CONFIG=/home/kantegory/pvt/nginx-redirector/redirector/tests/test.yaml python -m unittest redirector/tests/redirector_test.py