def test_filesystem_store_location(self):
        uri = 'file:///var/lib/glance/images/1'
        loc = glance.store.filesystem.StoreLocation({})
        loc.parse_uri(uri)

        self.assertEqual("file", loc.scheme)
        self.assertEqual("/var/lib/glance/images/1", loc.path)
        self.assertEqual(uri, loc.get_uri())

        bad_uri = 'fil://'
        self.assertRaises(Exception, loc.parse_uri, bad_uri)

        bad_uri = 'file://'
        self.assertRaises(exception.BadStoreUri, loc.parse_uri, bad_uri)
Returns a path that callers can use to get new transaction IDs from
dataset/ETHPy150Open rcbops/glance-buildpackage/glance/tests/unit/test_store_location.py/TestStoreLocation.test_filesystem_store_location--crossover with--dataset/ETHPy150Open AppScale/appscale/AppDB/zkappscale/zktransaction.py/ZKTransaction.get_txn_path_before_getting_id