Omer Katz
7a6e7cc45b
pyupgrade
2020-07-13 16:58:06 +03:00
Gabriele Santomaggio
772f1d7518
Add events field on memory channel ( #1053 )
...
* Add events field on memory channel
Part of https://github.com/celery/kombu/issues/1050 , with this fix
the function does not raise the exception.
The init `defaultdict(set)` is the same init from amqp lib.
* Add unit test
* Add more detail test
* FIx flake8
2019-06-04 19:28:02 +06:00
Ask Solem
84fc45b9a7
Virtual transport deliver now calls callback, no return value. Fixes #593
2016-09-02 15:39:45 -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