File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -33,10 +33,8 @@ into the official repository, your code must pass two tests:
3333
3434.. code-block :: console
3535
36- $ cd $HOME/projects/deis
37- $ make flake8
36+ $ make -C controller flake8
3837 flake8
39- $
4038
4139 No output, as above, means ``flake8 `` found no errors. If errors
4240are reported, fix them in your source code and try ``flake8 `` again.
@@ -60,18 +58,17 @@ ensure that everything passes and that code coverage has not declined.
6058
6159.. code-block :: console
6260
63- $ cd $HOME/projects/deis
64- $ make coverage
65- coverage run manage.py test api celerytasks client web
61+ $ make -C controller coverage
62+ coverage run manage.py test --noinput api cm provider web
63+ WARNING Cannot synchronize with etcd cluster
6664 Creating test database for alias 'default'...
67- ...................ss .
65+ ................................................................... .
6866 ----------------------------------------------------------------------
69- Ran 22 tests in 22.630s
67+ Ran 68 tests in 84.856s
7068
71- OK (skipped=2)
69+ OK
7270 Destroying test database for alias 'default'...
7371 coverage html
74- $
7572
7673 If a test fails, fixing it is obviously the first priority. And if you
7774have introduced new code, it must be accompanied by unit tests.
You can’t perform that action at this time.
0 commit comments