def test_init(self): name = 'test' queue = BaseQueue(name) self.assertEqual(queue.name, name) self.assertEqual(queue.exclusive, False) self.assertEqual(queue.auto_delete, False) self.assertEqual(queue.expiration, 0)
def test_neq(self): self.assertTrue(BaseQueue('1') != BaseQueue('2')) self.assertFalse(BaseQueue('1') != BaseQueue('1'))