

def test_get_non_existing(self):
    "\n        Test that trying to retrieve a swift that doesn't exist\n        raises an error\n        "
    loc = location.get_location_from_uri(('swift://%s:key@authurl/glance/noexist' % self.swift_store_user), conf=self.conf)
    self.assertRaises(exceptions.NotFound, loc.store.get, loc)

dataset/ETHPy150Open openstack/glance_store/glance_store/tests/unit/test_swift_store.py SwiftTests.test_get_non_existing/VarMisuse@41/101 `self`->`loc`