Fix up test code that creates a HostingServiceAccount.

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

Information

Review Board
release-3.0.x
9184541...

Reviewers

The code that creates a new HostingServiceAccount for use in unit tests was
creating the object but not saving it, which would cause problems if we then
tried to create a relation to it when running within Django 1.8's atomic test
cases.

Ran unit tests on Django 1.6 and 1.8.

reviewbot
  1. Tool: PEP8 Style Checker
    Processed Files:
        reviewboard/hostingsvcs/tests/testcases.py
    
    
    
    Tool: Pyflakes
    Processed Files:
        reviewboard/hostingsvcs/tests/testcases.py
    
    
  2. 
      
brennie
  1. Ship It!
  2. 
      
chipx86
  1. Ship It!
  2. 
      
david
Review request changed
Status:
Completed
Change Summary:
Pushed to release-3.0.x (3982e4c)