def test_create_bundle_version(self):
        catalog = self._build_test_catalog()
        self.assertTrue("meep" in catalog.get_index().bundle_names())
        self.assertTrue(1 in catalog.get_index().versions_for_bundle("meep"))
        manifest = catalog.manifest_for_bundle("meep", 1)
        self.assertTrue(manifest is not None)
        for (file, props) in manifest.files.items():
            sha = props['sha']
            formats = props['formats']
            for format in formats.keys():
                ext = None
                if format == 'gz':
                    ext = 'gz'
                object_path = ZincCatalogPathHelper().path_for_file_with_sha(sha, ext)
                self.assertTrue(self.path_exists_in_catalog(object_path))
dataset/ETHPy150Open mindsnacks/Zinc/tests/testZincCatalog.py/ZincCatalogTestCase.test_create_bundle_version/original