Instantiate avatar services form when there is no default service

Review Request #8728 — Created Feb. 8, 2017 and submitted

Information

Djblets
release-0.10.x

Reviewers

Previously, when the avatar service form was instantiated, it assumed
that there was a default avatar service. If there was not, the form
would fail in instantiation. This patch addresses this.

Ran unit tests. The provided test fails without the fix applied.

Description From Last Updated

just test ,forge it

SE searchForDream
reviewbot
  1. Tool: Pyflakes
    Processed Files:
        djblets/avatars/forms.py
    
    
    
    Tool: PEP8 Style Checker
    Processed Files:
        djblets/avatars/forms.py
    
    
  2. 
      
david
  1. Testing done?

  2. 
      
brennie
reviewbot
  1. Tool: Pyflakes
    Processed Files:
        djblets/avatars/forms.py
        djblets/avatars/tests.py
    
    
    
    Tool: PEP8 Style Checker
    Processed Files:
        djblets/avatars/forms.py
        djblets/avatars/tests.py
    
    
  2. 
      
SE
  1. 
      
  2. Show all issues

    just test ,forge it

  3. 
      
SE
  1. Ship It!
  2. 
      
david
  1. Ship It!
  2. 
      
brennie
Review request changed
Status:
Completed
Change Summary:
Pushed to release-0.10.x (cc52bb0)