1
0
mirror of https://github.com/django/django.git synced 2025-02-11 09:55:22 +00:00
Simon Charette 5b75b01939 Refactored an admin_view test case.
Used setUpTestData, client login/logout and manager's count() method.

Thanks to Tim for the review.
2015-02-09 15:08:05 -05:00
..
2015-02-06 09:30:35 -05:00
2015-02-06 09:30:35 -05:00
2015-02-06 09:30:35 -05:00
2015-02-06 09:30:35 -05:00
2015-02-06 09:30:35 -05:00
2015-02-06 09:30:35 -05:00
2015-02-06 09:30:35 -05:00
2015-02-06 12:58:45 +01:00

To run the test suite::

    $ cd tests
    $ pip install -r requirements/py3.txt  # or py2.txt
    $ PYTHONPATH=..:$PYTHONPATH ./runtests.py

For more information about the test suite, see
https://docs.djangoproject.com/en/dev/internals/contributing/writing-code/unit-tests/.