'Verify skipping username raises the right exception.'

def test_authenticate_no_username(self):

    body_dict = _build_user_auth(password='pass', tenant_name='demo')
    self.assertRaises(exception.ValidationError, self.controller.authenticate, self.make_request(), body_dict)
