

def test_different_cell(self):
    filter_props = {
        'scheduler_hints': {
            'different_cell': 'fake!2',
        },
        'routing_path': 'fake',
        'context': self.context,
    }
    filtered_cells = self._filter_cells(filtered_cells.cells, filter_props)
    self.assertEqual(2, len(filtered_cells))
    self.assertNotIn(self.cells[1], filtered_cells)

dataset/ETHPy150Open BU-NU-CLOUD-SP16/Trusted-Platform-Module-nova/nova/tests/unit/cells/test_cells_filters.py TestDifferentCellFilter.test_different_cell/VarMisuse@46/76 `self`->`filtered_cells`