Commit Graph

34 Commits

Author SHA1 Message Date
Asif Saif Uddin 0f9f554b7c pytest~=7.1.1 2022-04-17 13:46:43 +06:00
dobosevych 894ddfc8b6
Added possibility to serialize and deserialize binary messages in json (#1516)
* Added possibility to serialize and deserialize binary messages in json

* Flake8 fixed

* Hypothesis added to improve test range. Fixed issue b'\x80' serialization.

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Added docstring

* Fixed pylint

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2022-04-12 18:52:41 +06:00
Asif Saif Uddin 22adaaa38b
try pytest 7 (#1497) 2022-03-01 14:53:09 +06:00
Matus Valo 07bab02bc3
Remove dependency to case (#1389)
* Remove dependency to case

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Fix flake8 errors

* Remove unused code

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2021-09-15 21:00:08 +06:00
Asif Saif Uddin 88a6b39db1
test new pytest version (#1383) 2021-09-08 09:40:51 +06:00
Matus Valo d3ded0069c
Revert "Port of redis code improvements from prior revision (#1132)" (#1307)
This reverts commit 753f4ec174.
2021-03-06 20:36:59 +01:00
Matt Davis 753f4ec174
Port of redis code improvements from prior revision (#1132)
* Port of redis code improvements from prior revision

Add fakeredis requirement

* refine variable naming based on PR feedback.

* Remove python2 code style and remove unittest.Testcase from test_redis.py

* Code refactor of redis.py and test_redis.py

Co-authored-by: Matus Valo <matusvalo@gmail.com>
2021-03-03 22:40:37 +01:00
Matus Valo b506a514e1 pin pytest<=5.3.5 due issue in pytest-sugar 2020-04-03 14:16:31 +02:00
Asif Saif Uddin 597d675ca1
Revert "Issue #1087 redis fix (#1089)" (#1106)
This reverts commit 2f6f5f6a5d.
2019-11-02 23:43:08 +06:00
Matt Davis 2f6f5f6a5d Issue #1087 redis fix (#1089)
* issue-1087 Revert _lookup api and correct redis implemetnation.  Update variable naming to be self documenting and more readable by non native speakers.  Major overhaul of redis test cases by adding more full featured fakeredis module.

* Add more test cases to boost coverage of kombu redis transport.

* Refactor the producer consumer test cases to be based on original mocks and be passing

* Fix lingering line length issue in test.
2019-08-31 23:54:01 +06:00
Irmen de Jong aa8ea28f50 Making the pyro transport available, fix it for recent Pyro4 versions, add broker daemon (#895)
* Make the pyro transport available and fix it for recent Pyro4 version.
Implemented the missing Pyro Kombu broker to actually be able to use the Pyro transport

* code style
2018-11-25 20:40:54 +06:00
Omer Katz c1351f59df
Use pytest-sugar for output. 2018-05-20 11:02:41 +03:00
Ask Solem a7fda57557 Try to fix test suite 2016-10-28 16:17:13 -07:00
Ask Solem e3d4b4ed53 Tests: Now depends on case 1.5.1 2016-10-28 15:50:25 -07:00
Ask Solem 27aae407f1 Tests: Now depends on case 1.5 2016-10-28 15:46:40 -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
Ask Solem 55452a1546 JSON: Encoder now handles datetimes, django Promise, UUID and Decimal. Closes celery/celery#3301 2016-07-08 13:32:37 -07:00
Ask Solem 6c6d898636 Reqs: Now depends on case 1.2.2 2016-06-23 15:37:51 -07:00
Ask Solem 3a0edadb70 Reqs: Now depends on case 1.2.1 2016-06-23 14:34:41 -07:00
Ask Solem 9905995d82 [reqs][test] now depends on case 1.1.2 2016-04-08 23:37:09 -07:00
Ask Solem 33d3be157f [reqs][test] now depends on case 1.1.1 2016-04-08 23:16:16 -07:00
Ask Solem 35455f9cc3 [tests] Use moar Mock.assert_called 2016-04-08 21:12:38 -07:00
Ask Solem 6da537d57c [tests] Now depends on case 2016-04-05 15:53:44 -07:00
Ask Solem 60a5c63cb6 Support for coveralls 2014-02-09 15:47:11 +00:00
Ask Solem 8d050610df setup.cfg requires nose-cover3 2012-08-29 12:51:34 +01:00
Ask Solem 3b5cbc906e Cleans up test requirements 2012-08-29 12:43:00 +01:00
Ask Solem b4957cedf6 Can depend on PyYAML>3.09 now since kombu 2.2 no longer supports Py2.4 2012-07-05 14:35:20 +01:00
Ask Solem d3359b6806 test reqs now depend on msgpack <0.2 as 0.2 dropped Py2.5 support 2012-07-05 14:34:38 +01:00
Ask Solem e4dc19669b Remove dev mck req from test req 2012-06-22 14:24:46 +01:00
Ask Solem 185348345f setup.py now takes reqs from requirements/ 2012-06-21 15:53:36 +01:00
Ask Solem 88fecb014a Adds mock >= 0.7.0 to testing requirements 2012-01-10 12:22:51 +00:00
Ask Solem 9d3945457a msgpack 0.1.7 dropped py24 support 2011-09-13 16:16:27 +01:00
Ask Solem 480112b21f Test requirements specifies PyYAML==3.09 as 3.10 dropped Python 2.4 support 2011-06-28 15:40:21 +01:00
Ask Solem c21140a5bf Moves contrib/requirements to top dir 2011-04-03 13:47:15 +02:00