def test_check_cluster_alloc(self): data_runs = [(31, 123623)] bitmap = Bitmap(partition=self.partition, bitmap_data_runs=data_runs) self.assertTrue(bitmap.check_cluster_alloc(4)) self.assertFalse(bitmap.check_cluster_alloc(127848))