Skip to content

Commit 7e6f776

Browse files
committed
test(component): add make test to deis/registry and unit tests for controller
1 parent c29d29e commit 7e6f776

1 file changed

Lines changed: 10 additions & 3 deletions

File tree

Makefile

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,6 @@ clean: uninstall
3131
full-clean: clean
3232
$(call ssh_all,'sudo docker rmi deis/controller')
3333

34-
test:
35-
python manage.py test --noinput api
36-
3734
runserver:
3835
python manage.py runserver
3936

@@ -46,3 +43,13 @@ coverage:
4643

4744
flake8:
4845
flake8
46+
47+
test: test-unit test-functional
48+
49+
test-unit:
50+
@if [ ! -d venv ]; then virtualenv venv; fi
51+
venv/bin/pip install -q -r requirements.txt
52+
venv/bin/python manage.py test --noinput api
53+
54+
test-functional:
55+
@echo no functional tests

0 commit comments

Comments
 (0)