Fix a few issues in running the test suite in Django 1.7+.
Review Request #8688 — Created Jan. 31, 2017 and submitted
This takes care of a few different breakages in the test suite when running on more modern versions of Django. These have to do with a couple of individual unit tests, rather than implementation issues in Djblets. It also fixes up the Djblets test suite runner to use the migrate command instead of syncdb when populating the database before the test runs.
Along with all the other changes going up, the unit tests pass on
Django 1.6 through 1.10.
| Description | From | Last Updated |
|---|---|---|
|
Do we not need to include the run_syncdb argument? |
|
- Change Summary:
-
Switched to passing
use_syncdb=Truewhen usingmigrate. - Commit:
-
a60a09a611b2765f87333d02a77dd47abab7c17c3b6bd4db6f317409cd033ddd118371a7062a422a
Tool: Pyflakes Processed Files: djblets/webapi/tests/test_registry.py djblets/feedview/tests.py tests/runtests.py Tool: PEP8 Style Checker Processed Files: djblets/webapi/tests/test_registry.py djblets/feedview/tests.py tests/runtests.py