Cleanup user creation in tests
Review Request #9458 — Created Dec. 19, 2017 and submitted — Latest diff uploaded
We now are always careful to provide an e-mail to users in tests. Also,
calls have been updated to useUser.objects.create_user
over
User.objects.create
where appropriate. This was prompted by a change
in Djblets (see https://reviews.reviewboard.org/r/9445/) which started
causing unit test failures due toUser
s without e-mail addresses
being serialized. So to be extra safe, I've gone in and added e-mail
addresses to all calls that were lacking them.
Ran unit tests.