def test_no_glance_partition_when_ceph_used_for_images(self):
        cluster = self.env.create(
            cluster_kwargs={
                'mode': consts.CLUSTER_MODES.multinode},
            release_kwargs={
                'modes': [consts.CLUSTER_MODES.ha_compact,
                          consts.CLUSTER_MODES.multinode]},
            nodes_kwargs=[
                {'roles': ['controller', 'ceph-osd']}])
        self.app.patch(
            reverse(
                'ClusterAttributesHandler',
                kwargs={'cluster_id': cluster['id']}),
            params=jsonutils.dumps({
                'editable': {'storage': {'images_ceph': {'value': True}}}}),
            headers=self.default_headers)
        volumes = manager.VolumeManager(self.env.nodes[0]).gen_volumes_info()

        image_volume = next((v for v in volumes if v['id'] == 'image'), None)
        self.assertIsNone(image_volume)
No partition with id image is not present when images_ceph used
dataset/ETHPy150Open openstack/fuel-web/nailgun/nailgun/extensions/volume_manager/tests/test_volume_manager.py/TestVolumeManagerGlancePartition.test_no_glance_partition_when_ceph_used_for_images