def _v1_1_slug_os_keypairs(self, method, url, body, headers):
        if method == "GET":
            body = self.fixtures.load('_os_keypairs.json')
        elif method == "POST":
            if body in 'public_key':
                body = self.fixtures.load('_os_keypairs_create_import.json')
            else:
                body = self.fixtures.load('_os_keypairs_create.json')
        else:
            raise NotImplementedError()

        return (httplib.OK, body, self.json_content_headers, httplib.responses[httplib.OK])
dataset/ETHPy150Open apache/libcloud/libcloud/test/compute/test_openstack.py/OpenStack_1_1_MockHttp._v1_1_slug_os_keypairs/swapped operands of `in`