'Exception raised when user password is of the wrong type.'

def test_validate_user_create_fails_with_invalid_password_type(self):

    request_to_validate = {'name': self.user_name, 'password': True}
    self.assertRaises(exception.SchemaValidationError, self.create_user_validator.validate, request_to_validate)
