Fix a few issues in running the test suite in Django 1.7+.

Review Request #8688 — Created Jan. 31, 2017 and submitted

Information

Djblets
release-0.10.x
3b6bd4d...

Reviewers

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?

daviddavid
reviewbot
  1. 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
    
    
  2. 
      
david
  1. 
      
  2. tests/runtests.py (Diff revision 1)
     
     
    Show all issues

    Do we not need to include the run_syncdb argument?

    1. Oddly, it doesn't seem that we do. I haven't quite figured that out yet. I'll add it anyway.

  3. 
      
chipx86
reviewbot
  1. Tool: PEP8 Style Checker
    Processed Files:
        djblets/webapi/tests/test_registry.py
        djblets/feedview/tests.py
        tests/runtests.py
    
    
    
    Tool: Pyflakes
    Processed Files:
        djblets/webapi/tests/test_registry.py
        djblets/feedview/tests.py
        tests/runtests.py
    
    
  2. 
      
david
  1. Ship It!
  2. 
      
chipx86
Review request changed
Status:
Completed
Change Summary:
Pushed to release-0.10.x (18dbeaf)