1
0
mirror of https://github.com/django/django.git synced 2025-03-21 23:00:44 +00:00
Markus Holtermann 38e1169067
[1.11.x] Refs #22397 -- Removed model in test cleanup
The test was failing when using --keepdb due to a pre-existing
PonyStables model.

Thanks Florian Apolloner for the report

Backport of 8e352876c337332b45a72da8bbccad2830c7b1e0 from master.
2017-05-09 13:11:05 +02:00
..
2016-11-14 12:30:46 -05:00
2015-08-22 20:25:42 +02:00
2016-11-14 12:30:46 -05:00
2015-08-22 20:25:42 +02: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/.