'Create a user as identified by username, email, password and is_staff.'

@staticmethod
def create_user(username, is_staff):

    return UserFactory(username=username, email=u'{}@example.com'.format(username), password=TEST_PASSWORD, is_staff=is_staff)
