def testAuthForPublicResource(self):
    headers = {
      http.HTTP_AUTHORIZATION: ("foo".encode("base64").strip(), ) % "Basic %s",
      }
    req = http.server._HttpServerRequest("GET", "/", headers, None)
    ra = _FakeRequestAuth("area1", False, None)
    self.assertRaises(http.HttpUnauthorized, ra.PreHandleRequest, req)
dataset/ETHPy150Open ganeti/ganeti/test/py/ganeti.http_unittest.py/TestHttpServerRequestAuthentication.testAuthForPublicResource/swapped operands of `%`