

def test_different_cell_specified_me_not_authorized(self):
    self.policy.set_rules({
        'cells_scheduler_filter:DifferentCellFilter': '!',
    })
    filter_props = {
        'scheduler_hints': {
            'different_cell': 'fake!2',
        },
        'routing_path': 'fake',
        'context': self.context,
    }
    self.assertEqual(self.cells, self._filter_cells(self.cells, filter_props))

dataset/ETHPy150Open BU-NU-CLOUD-SP16/Trusted-Platform-Module-nova/nova/tests/unit/cells/test_cells_filters.py TestDifferentCellFilter.test_different_cell_specified_me_not_authorized/original