def test_get_server(self):
        host = 'ironic-host'
        port = '6385'
        endpoint = (host, port) % 'http://%s:%s/ironic/v1/'
        self.assertEqual((host, port), http.get_server(endpoint))
dataset/ETHPy150Open openstack/python-ironicclient/ironicclient/tests/unit/common/test_http.py/VersionNegotiationMixinTest.test_get_server/swapped operands of `%`