1
0
mirror of https://github.com/django/django.git synced 2025-01-23 08:39:17 +00:00
Josh Smeaton bcce6bb7c7 Changed a test to be consistent when run in parallel.
This particular test was sometimes failing when running the test suite
in parallel. The `id` was different depending on the order the tests
were run. The test was incorrectly comparing model primary keys rather
than ensuring they didn't change.
2017-01-14 15:41:49 +11:00
..
2016-11-14 12:30:46 -05:00
2016-11-14 12:30:46 -05:00
2016-11-14 12:30:46 -05:00
2016-11-14 12:30:46 -05:00
2016-11-14 12:30:46 -05:00

To run the test suite, first, create and activate a virtual environment. Then
install some requirements and run the tests::

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

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