• 
      

    Fix unit test failures for WebAPITokens due to model conflicts.

    Review Request #8280 — Created July 11, 2016 and submitted

    Information

    Djblets
    release-0.10.x
    fc8ea1a...

    Reviewers

    When running the entire test suite for Djblets, we'd see errors with
    certain field accesses on BaseWebAPIToken subclasses. This was due to
    the Django model metaclass machinery causing issues when two models
    shared the same name.
    
    To solve this, we're doing what all other test models do: Giving them
    their own unique names. This results in all the unit tests passing.

    Unit tests pass.

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