Instantiate avatar services form when there is no default service

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

Barret Rennie
Djblets
release-0.10.x
djblets

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.

  • 0
  • 0
  • 1
  • 0
  • 1
Description From Last Updated
Review Bot
  1. Tool: Pyflakes
    Processed Files:
        djblets/avatars/forms.py
    
    
    
    Tool: PEP8 Style Checker
    Processed Files:
        djblets/avatars/forms.py
    
    
  2. 
      
David Trowbridge
  1. Testing done?

  2. 
      
Barret Rennie
Review Bot
  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. 
      
yuan tl
  1. 
      
  2. just test ,forge it

  3. 
      
yuan tl
  1. Ship It!
  2. 
      
David Trowbridge
  1. Ship It!
  2. 
      
Barret Rennie
Review request changed

Status: Closed (submitted)

Change Summary:

Pushed to release-0.10.x (cc52bb0)
Loading...