def setUp(self):
        self.twillOutput = StringIO()
        self.twillErr = StringIO()
        twill.set_output(self.twillOutput)
        twill.set_errout(self.twillErr)
        # FIXME: make sure we pick an available port.
        self.server_port = 8080

        # We need something to feed the server as a realm, but it needn't
        # be reachable.  (Until we test realm verification.)
        self.realm = (self.id(),) % 'http://127.0.0.1/%s'
        self.return_to = self.realm + '/return_to'

        twill.commands.reset_browser()
dataset/ETHPy150Open CollabQ/CollabQ/openid/test/test_examples.py/TestServer.setUp/swapped operands of `%`