Omer Katz
7a6e7cc45b
pyupgrade
2020-07-13 16:58:06 +03:00
Antonio Gutierrez
1160b92c27
Queue: add handling of Exchange as str to constructor ( #904 )
...
To fit with the documentation, Queue can now handle a str argument for
the exchange parameter in the constructor, as well as an actual Exchange
object.
Added relevant unit tests to avoid regressions.
Fixes: https://github.com/celery/kombu/issues/903
Signed-off-by: Antonio Gutierrez <chibby0ne@gmail.com>
2018-08-12 08:59:27 +06:00
Matt Yule-Bennett
e2a59094c2
don't cache declaration of expiring queues ( #884 )
2018-08-09 16:49:34 +03:00
Ask Solem
ded6f0c873
Entities can now be declared without binding to channel: entity.declare(channel=channel)
2016-10-27 14:22:19 -07:00
Ask Solem
6d72e40e5b
Rewrite tests to use py.test
...
NOTE: test_qpid was removed as it's breaking horribly.
It's currently trying to import symbols from kombu.transport.qpid
that don't exist.
assertRaises -> pytest.raises
assertTrue
assertTrue - multiline
assertFalse
assertFalse - multiline
assertIsNone
assertIsNone - multiline
assertEqual
assertEqual - multiline
assertNotEqual
assertNotEqual - multiline
assertGreater - multiline
assertIn
assertIn - multiline
assertNotIn
assertNotIn - multiline
assertIsInstance
assertIsInstance - multiline
assertIsNot
assertIsNot - multiline
assertIsNotNone
assertIs
assertIs - multiline
Manual changes
Now depends on case 1.3.1
2016-08-23 11:38:54 -07:00