@@ -15,21 +15,21 @@ run automatically.
1515
1616Please write unit tests for your change. There are two kinds of tests:
1717
18- * Regular unit tests that test the code directly, without loading
19- Django. This is limited to pieces of the code that don't depend on
20- Django, since a lot of the Django code will require a full Django
21- environment (anything that interacts with models, for instance,
22- needs a full database configuration).
23- * End-to-end tests are Django unit tests in a test application. The
24- test application doubles as an easy way to interactively test your
25- changes. It uses most of the basic Django features and a few
26- advanced features, so you can test things for yourself.
18+ * Regular unit tests that test the code directly, without loading
19+ Django. This is limited to pieces of the code that don't depend on
20+ Django, since a lot of the Django code will require a full Django
21+ environment (anything that interacts with models, for instance,
22+ needs a full database configuration).
23+ * End-to-end tests are Django unit tests in a test application. The
24+ test application doubles as an easy way to interactively test your
25+ changes. It uses most of the basic Django features and a few
26+ advanced features, so you can test things for yourself.
2727
2828### Running all tests
2929
3030``` shell
31- $ python setup.py test
32- $ ( cd tests/end2end/; PYTHONPATH=../.. ./manage.py test)
31+ python setup.py test
32+ cd tests/end2end/ && PYTHONPATH=../.. ./manage.py test
3333```
3434
3535The former runs the regular unit tests, the latter runs the Django
@@ -41,15 +41,15 @@ setup.py install`.
4141### Running the test Django app
4242
4343``` shell
44- $ ( cd tests/end2end/; PYTHONPATH=../.. ./manage.py runserver)
44+ cd tests/end2end/ && PYTHONPATH=../.. ./manage.py runserver
4545```
4646
4747By default, this will start serving on http://localhost:8000/ . Metrics
4848are available at ` /metrics ` .
4949
5050## Running Prometheus
5151
52- See http://prometheus.io/docs/ for instructions on installing
52+ See < http://prometheus.io/docs/ > for instructions on installing
5353Prometheus. Once you have Prometheus installed, you can use the
5454example rules and dashboard in ` examples/prometheus/ ` . See
5555` examples/prometheus/README.md ` to run Prometheus and view the example
0 commit comments