Fix test failures with Django 1.8.x

Review Request #7717 — Created Oct. 20, 2015 and submitted

Information

Djblets
release-0.9.x
bef454d...

Reviewers

Django 1.8.x gets very unhappy about models without pk fields, which means we
need to add this to our test mocks.

Ran unit tests.

Description From Last Updated

We should probably comment why we're doing this.

brenniebrennie

Likewise here.

brenniebrennie
reviewbot
  1. Tool: Pyflakes
    Processed Files:
        djblets/webapi/tests/test_webapiresource.py
    
    
    
    Tool: PEP8 Style Checker
    Processed Files:
        djblets/webapi/tests/test_webapiresource.py
    
    
  2. 
      
brennie
  1. 
      
  2. Show all issues

    We should probably comment why we're doing this.

  3. Show all issues

    Likewise here.

  4. 
      
david
Review request changed
Status:
Completed
Change Summary:
Pushed to release-0.9.x (3e0284b)