Fix up test code that creates a HostingServiceAccount.
Review Request #8700 — Created Jan. 31, 2017 and submitted
The code that creates a new
HostingServiceAccountfor 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.
Tool: PEP8 Style Checker Processed Files: reviewboard/hostingsvcs/tests/testcases.py Tool: Pyflakes Processed Files: reviewboard/hostingsvcs/tests/testcases.py