Skip to content

Commit 88a32c5

Browse files
author
Matthew Fisher
committed
docs(standards): update old commands
some of the documentation's listed commands are outdated and need to be updated to reflect the new workflow changes.
1 parent d66bc17 commit 88a32c5

1 file changed

Lines changed: 7 additions & 10 deletions

File tree

docs/contributing/standards.rst

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff 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
4240
are 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
7774
have introduced new code, it must be accompanied by unit tests.

0 commit comments

Comments
 (0)