summaryrefslogtreecommitdiff
path: root/t/unit/utils
Commit message (Collapse)AuthorAgeFilesLines
* autopep8.remove-python2-supportOmer Katz2020-08-042-1/+2
|
* Remove five usage from tests.Omer Katz2020-07-235-56/+14
|
* pyupgradeOmer Katz2020-07-1314-38/+9
|
* Support standard values for ssl_cert_reqs query parameter. (#1139)Dave Peticolas2020-02-021-2/+23
| | | | | | * Support standard values for ssl_cert_reqs query parameter. * Pick lint.
* Fix redis health checks (#1122)Ashish Bansal (mrphantom)2019-12-021-1/+27
| | | | | | | | * Fix redis transport health checks functionality * Add tests for accepts_argument util function * Reduce default health check interval to 25s
* Make sure that max_retries=0 is treated differently than None (#1080)Eric Higdon2019-08-131-1/+16
| | | | | | | | | | | | * Make sure that max_retries=0 is treated differently than None When max_retries=0, it should not retry at all instead of retrying infinitely. * retry_always should use max_retries=None instead of 0. * Added test for zero retries * Removed Offending spaces from blank line
* Switch from pkg_resources importlib-metadata (#1071)David Szotten2019-07-061-15/+11
| | | | | | See e.g. https://github.com/pypa/setuptools/issues/510#issuecomment-463667124 On a moderatly large project (~200 packages) at $work this saves ~150 ms on `python -c 'from kombu import Exchange'`
* Support SSL URL parameters correctly for rediss protocol (#1002)Paul Bailey2019-02-211-0/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | * fixed rediss url parsing * added ssl parameter test * added ssl parameter test * added ssl parameter test * added ssl parameter test * added ssl parameter test * added no ssl module parse_url test * added no ssl module parse_url test * added no ssl module parse_url test * convert to list comprehension * simulate no ssl in test * add missing logger
* Add timeout to retry_over_time (#880)tothegump2018-08-091-0/+17
| | | add ut
* Fixes #791 - SQS queue name gets mangled in Python 2.7 environment (#794)John Koehl2018-01-281-3/+23
| | | | | | | | | | | | | | | | | | * Fixes #791 * Changing to recommended patch by @georgepsarakis * Revert "Fixes #791" This reverts commit 5593505dd9deea5d0089d03cddfb3728f09a2048. * Updated to make tests pass * Made _ensure_str a private function * Code formatting for flake8 * Added a mock of the newstr and newbytes classes to create a failing test that simulates the issue with using python-future under 2.7.
* Make flake8 happy.Omer Katz2017-12-171-2/+2
|
* Adds Queue.expires,.message_ttl,.max_length,.max_length_bytes,.max_priority ↵Ask Solem2016-10-141-0/+23
| | | | (Issue #629)
* Removes kombu.syn, moves detect_environment to utils.compatAsk Solem2016-10-051-0/+57
|
* Virtual transport deliver now calls callback, no return value. Fixes #593Ask Solem2016-09-021-8/+9
|
* Rewrite tests to use py.testAsk Solem2016-08-2314-0/+914
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