

def _rest_namespace_test_container_test_object_metadata_user(self, method, url, body, headers):
    meta = {
        'md5': '6b21c4a111ac178feacf9ec9d0c71f17',
        'foo-bar': 'test 1',
        'bar-foo': 'test 2',
    }
    headers = {
        'x-emc-meta': ', '.join([((k + '=') + v) for (k, v) in list(meta.items())]),
    }
    return (httplib.OK, '', headers, httplib.responses[httplib.OK])

dataset/ETHPy150Open apache/libcloud/libcloud/test/storage/test_atmos.py AtmosMockHttp._rest_namespace_test_container_test_object_metadata_user/original