1
0
mirror of https://github.com/django/django.git synced 2025-03-26 09:10:50 +00:00
Travis Jensen 1a09b3c398 Fixed -- Use force_str for test client URLs.
urlparse() fails with an AttributeError ("'__proxy__' object has no
attribute 'decode'") if reverse_lazy is used to look up the URL
(this is exactly the same problem that caused ticket ). The
solution is to use force_str() on the path before handing it to
urlparse().
2015-09-19 15:05:54 +02:00
..
2015-08-22 20:25:42 +02:00
2015-08-22 20:25:42 +02:00
2015-04-27 08:40:36 -04:00
2015-04-27 08:40:36 -04:00
2015-08-22 20:25:42 +02:00
2015-08-22 20:25:42 +02: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/.