def test_deselect(self): q = Queues() q.select(['foo', 'bar']) q.deselect('bar') assert sorted(keys(q._consume_from)) == ['foo']
def test_deselect(self): q = Queues() q.select(['foo', 'bar']) q.deselect('bar') self.assertItemsEqual(keys(q._consume_from), ['foo'])
def test_deselect(self): q = Queues() q.select(["foo", "bar"]) q.deselect("bar") self.assertItemsEqual(keys(q._consume_from), ["foo"])
def test_deselect(self): q = Queues() q.select(["foo", "bar"]) q.deselect("bar") assert sorted(keys(q._consume_from)) == ["foo"]