def test_create_duplicate_bundle_version_with_force(self):
        catalog = self._build_test_catalog()
        # add a file
        create_random_file(self.scratch_dir)
        # create first version
        manifest1 = create_bundle_version(catalog, "meep", self.scratch_dir)
        self.assertTrue(2 in catalog.get_index().versions_for_bundle("meep"))
        # attempt to create same version again, with force
        manifest2 = create_bundle_version(catalog, "meep", self.scratch_dir,
                                          force=True)
        self.assertNotEquals(manifest1.version, manifest2.version)
dataset/ETHPy150Open mindsnacks/Zinc/tests/testZincCatalog.py/ZincCatalogTestCase.test_create_duplicate_bundle_version_with_force/original