Commit Graph

24 Commits

Author SHA1 Message Date
Jon Dufresne f4fda3858f Remove print from tests; looks like it was left in from debugging (#719) 2017-04-17 10:24:00 +06:00
georgepsarakis 90149e4c5c PEP8 fix 2017-04-16 11:28:24 +03:00
georgepsarakis b701805cfc Re-enable unit tests and add case for endpoint URL property 2017-04-16 11:28:24 +03:00
Mischa Spiegelmock 129a9e4ed0 Switching to boto3 only (#693)
* Switch Boto2 to Boto3 for SQS messaging

* Fixed region support

* Add SQS FIFO queue support

* Add sensible defaults for message attributes

* Asynchronous support, plus boto3 for region endpoint lookups

* Clean up imports

* Fix Python 2 support

* Fix receive_message tests

* Reformat docstring

* boto3 import changes for CI

* skip tests if boto3 not installed

* skip tests if boto3 not installed

* flake8

* noboto

* ditching boto2. got queue URL fetching, async HTTP request generation and signing working.

* request signing working kinda

* async parsing of SQS message response more or less working

* botocore sqs dep

* ripping out more old boto2 stuff

* removing tests that are no longer valid with boto3/SQS

* fix boto3 dep, min version and no botocore

* no boto2 for test

* cleaning up some SQS tests. fixing header parsing of response to msg

* fixing some sqs tests

* removing response-parsing tests that are no longer necessary as we're using the botocore response parsing machinery instead of implementing SAX parsing in kombu.

* fixing more SQS tests

* wants a region

* trying to fix py2 parsing of sqs message

* lint

* py2/py2 message header parsing stupidness

* forgot

* python 2 sux

* flake8

* Import boto3 from the right place

* Changes

* Update encode fuction

* Fix lint

* remove some unused things

* removing unused stuff

* ugh

* ugh

* ugh

* landscape ignoring

* shut up, landscape
2017-04-14 11:22:18 +06:00
Dima Kurguzov bf820b20b0 Fix byte string for kazoo.Queue in Python 3 (#713)
* Fix byte string for kazoo.Queue in Python 3

* Add test for message conversion to bytes in ZooKeeper channel
2017-04-12 11:24:04 +06:00
Jerry Seutter e2322998fc Fix a broken test in python 3 (#674) 2016-12-24 15:34:28 +06:00
Ask Solem 1464a2afbe Redis: Fixes priority tests 2016-12-08 17:06:12 -08:00
Ask Solem 5a028a6906 Fixes failing test case 2016-12-07 15:58:56 -08:00
Ask Solem e03cbbe0d8 Fixes Qpid tests 2016-12-07 14:25:49 -08:00
Ask Solem 4fd70fbda8 Fixes mongodb tests 2016-12-07 14:24:53 -08:00
Ask Solem f6b0e7267a flakes 2016-10-28 16:22:45 -07:00
Ask Solem baeef7ac1a Ports Qpid unit tests to pytest 2016-10-28 15:46:25 -07:00
Ask Solem fb46262ee5 Signature of Message is now Message(body, channel=), not Message(channel, body=) 2016-10-27 16:55:40 -07: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 3dec40a007 Adds Queue.expires,.message_ttl,.max_length,.max_length_bytes,.max_priority (Issue #629) 2016-10-14 16:53:03 -07:00
bkolba 25773274c6 Fix Redis SSL support (#634)
* Fix Redis SSL support

- setting connparams[‘ssl’] = True will cause an unexpected keyword
exception when initializing a redis Connection or SSLConnection
- connection_class must be redis.SSLConnection. The base Connection
class does not support SSL parameters.
- Update the comment and tests to reflect the required format since it
is different than amqplib

* Flake8
2016-10-01 00:50:24 +06:00
Ask Solem 9f507fa0e9 flakes 2016-09-29 13:10:10 -07:00
Ask Solem 47d2ec9ec3 Redis: Radical attempt at fixing #623 2016-09-29 12:28:14 -07:00
Ask Solem d21847a32c Redis: Fixes tests 2016-09-28 16:52:38 -07:00
Ask Solem 701672c2ba Adds support for amqps:// to use pyamqp with ssl=True. Closes #610 2016-09-07 17:21:22 -07:00
Ask Solem fb2160af40 Removes outdated test 2016-09-06 14:44:08 -07: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 f71ea5c803 Port etcd tests to py.test 2016-09-02 15:35:13 -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