Commit Graph

67 Commits

Author SHA1 Message Date
dependabot[bot] 12409db0d5
Bump pytest from 8.2.1 to 8.2.2 (#2021)
Bumps [pytest](https://github.com/pytest-dev/pytest) from 8.2.1 to 8.2.2.
- [Release notes](https://github.com/pytest-dev/pytest/releases)
- [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/pytest-dev/pytest/compare/8.2.1...8.2.2)

---
updated-dependencies:
- dependency-name: pytest
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-06 17:37:45 +03:00
dependabot[bot] 617e4a4ec7 Bump pytest from 8.2.0 to 8.2.1
Bumps [pytest](https://github.com/pytest-dev/pytest) from 8.2.0 to 8.2.1.
- [Release notes](https://github.com/pytest-dev/pytest/releases)
- [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/pytest-dev/pytest/compare/8.2.0...8.2.1)

---
updated-dependencies:
- dependency-name: pytest
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-20 13:31:58 +06:00
pyup.io bot a56abf6890
Update pytest from 8.1.1 to 8.2.0 (#1990) 2024-04-28 08:33:02 +03:00
pyup.io bot 85775e3ec9
Pin hypothesis to hypothesis<7 (#1966)
* Pin hypothesis to latest version 6.99.1

* Update requirements/test.txt

---------

Co-authored-by: Tomer Nosrati <tomer.nosrati@gmail.com>
2024-03-10 20:48:27 +02:00
pyup.io bot 59f2871896
Update pytest from 8.1.0 to 8.1.1 (#1965) 2024-03-09 21:39:25 +02:00
Tomer Nosrati d105575cc5
Hotfix: Fix CI failures (#1961) 2024-03-05 13:21:33 +02:00
dependabot[bot] abe91098b7
Update hypothesis requirement from <=6.98.9 to <=6.98.11 (#1943)
Updates the requirements on [hypothesis](https://github.com/HypothesisWorks/hypothesis) to permit the latest version.
- [Release notes](https://github.com/HypothesisWorks/hypothesis/releases)
- [Commits](https://github.com/HypothesisWorks/hypothesis/compare/hypothesis-ruby-0.0.1...hypothesis-python-6.98.11)

---
updated-dependencies:
- dependency-name: hypothesis
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-25 12:17:54 +02:00
pyup.io bot 8818b31f22
Update pytest from 8.0.1 to 8.0.2 (#1942) 2024-02-25 11:09:40 +02:00
dependabot[bot] e9be6c85fe
Update hypothesis requirement from <=6.98.8 to <=6.98.9 (#1936)
Updates the requirements on [hypothesis](https://github.com/HypothesisWorks/hypothesis) to permit the latest version.
- [Release notes](https://github.com/HypothesisWorks/hypothesis/releases)
- [Commits](https://github.com/HypothesisWorks/hypothesis/compare/hypothesis-ruby-0.0.1...hypothesis-python-6.98.9)

---
updated-dependencies:
- dependency-name: hypothesis
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-20 09:41:31 +02:00
dependabot[bot] 48133f00c0
Update hypothesis requirement from <=6.98.6 to <=6.98.8 (#1934)
Updates the requirements on [hypothesis](https://github.com/HypothesisWorks/hypothesis) to permit the latest version.
- [Release notes](https://github.com/HypothesisWorks/hypothesis/releases)
- [Commits](https://github.com/HypothesisWorks/hypothesis/compare/hypothesis-ruby-0.0.1...hypothesis-python-6.98.8)

---
updated-dependencies:
- dependency-name: hypothesis
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-19 09:59:46 +02:00
pyup.io bot 8bb92673bf
Update pytest from 8.0.0 to 8.0.1 (#1931) 2024-02-17 11:14:53 +02:00
dependabot[bot] 0f968afbb6
Update hypothesis requirement from <=6.98.5 to <=6.98.6 (#1930)
Updates the requirements on [hypothesis](https://github.com/HypothesisWorks/hypothesis) to permit the latest version.
- [Release notes](https://github.com/HypothesisWorks/hypothesis/releases)
- [Commits](https://github.com/HypothesisWorks/hypothesis/compare/hypothesis-ruby-0.0.1...hypothesis-python-6.98.6)

---
updated-dependencies:
- dependency-name: hypothesis
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-16 13:18:29 +02:00
dependabot[bot] 56dee2e7e1
Update hypothesis requirement from <=6.98.4 to <=6.98.5 (#1927)
Updates the requirements on [hypothesis](https://github.com/HypothesisWorks/hypothesis) to permit the latest version.
- [Release notes](https://github.com/HypothesisWorks/hypothesis/releases)
- [Commits](https://github.com/HypothesisWorks/hypothesis/compare/hypothesis-ruby-0.0.1...hypothesis-python-6.98.5)

---
updated-dependencies:
- dependency-name: hypothesis
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-15 11:03:40 +02:00
dependabot[bot] 37aa445cb6
Update hypothesis requirement from <=6.98.3 to <=6.98.4 (#1925)
Updates the requirements on [hypothesis](https://github.com/HypothesisWorks/hypothesis) to permit the latest version.
- [Release notes](https://github.com/HypothesisWorks/hypothesis/releases)
- [Commits](https://github.com/HypothesisWorks/hypothesis/compare/hypothesis-ruby-0.0.1...hypothesis-python-6.98.4)

---
updated-dependencies:
- dependency-name: hypothesis
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-13 12:03:49 +02:00
dependabot[bot] 305de48d55
Update hypothesis requirement from <=6.98.2 to <=6.98.3 (#1921)
Updates the requirements on [hypothesis](https://github.com/HypothesisWorks/hypothesis) to permit the latest version.
- [Release notes](https://github.com/HypothesisWorks/hypothesis/releases)
- [Commits](https://github.com/HypothesisWorks/hypothesis/compare/hypothesis-ruby-0.0.1...hypothesis-python-6.98.3)

---
updated-dependencies:
- dependency-name: hypothesis
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-09 11:31:05 +02:00
dependabot[bot] 9d1540d57f
Update hypothesis requirement from <=6.98.1 to <=6.98.2 (#1918)
Updates the requirements on [hypothesis](https://github.com/HypothesisWorks/hypothesis) to permit the latest version.
- [Release notes](https://github.com/HypothesisWorks/hypothesis/releases)
- [Commits](https://github.com/HypothesisWorks/hypothesis/compare/hypothesis-ruby-0.0.1...hypothesis-python-6.98.2)

---
updated-dependencies:
- dependency-name: hypothesis
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-06 14:02:37 +02:00
Christian Clauss 10f5c3fdd6
Upgrade to pytest v8 that remove nose compatibility (#1914) 2024-02-05 16:56:13 +02:00
dependabot[bot] a512ce9155
Update hypothesis requirement from <=6.97.4 to <=6.98.1 (#1915)
Updates the requirements on [hypothesis](https://github.com/HypothesisWorks/hypothesis) to permit the latest version.
- [Release notes](https://github.com/HypothesisWorks/hypothesis/releases)
- [Commits](https://github.com/HypothesisWorks/hypothesis/compare/hypothesis-ruby-0.0.1...hypothesis-python-6.98.1)

---
updated-dependencies:
- dependency-name: hypothesis
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-05 12:38:41 +02:00
pyup-bot 3eabff6c05 Pin pytest-sugar to latest version 1.0.0 2024-02-02 02:15:19 +06:00
dependabot[bot] 8a584698a4
Update hypothesis requirement from <=6.97.3 to <=6.97.4 (#1910)
Updates the requirements on [hypothesis](https://github.com/HypothesisWorks/hypothesis) to permit the latest version.
- [Release notes](https://github.com/HypothesisWorks/hypothesis/releases)
- [Commits](https://github.com/HypothesisWorks/hypothesis/compare/hypothesis-ruby-0.0.1...hypothesis-python-6.97.4)

---
updated-dependencies:
- dependency-name: hypothesis
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-01 11:32:39 +02:00
dependabot[bot] 10dac959cc
Update hypothesis requirement from <=6.97.1 to <=6.97.3 (#1908)
Updates the requirements on [hypothesis](https://github.com/HypothesisWorks/hypothesis) to permit the latest version.
- [Release notes](https://github.com/HypothesisWorks/hypothesis/releases)
- [Commits](https://github.com/HypothesisWorks/hypothesis/compare/hypothesis-ruby-0.0.1...hypothesis-python-6.97.3)

---
updated-dependencies:
- dependency-name: hypothesis
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-31 07:35:07 +02:00
dependabot[bot] e1e753f763
Update hypothesis requirement from <=6.97.0 to <=6.97.1 (#1906)
Updates the requirements on [hypothesis](https://github.com/HypothesisWorks/hypothesis) to permit the latest version.
- [Release notes](https://github.com/HypothesisWorks/hypothesis/releases)
- [Commits](https://github.com/HypothesisWorks/hypothesis/compare/hypothesis-ruby-0.0.1...hypothesis-python-6.97.1)

---
updated-dependencies:
- dependency-name: hypothesis
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-29 10:56:42 +02:00
dependabot[bot] ee6ee2b14f
Update hypothesis requirement from <=6.96.2 to <=6.97.0 (#1901)
Updates the requirements on [hypothesis](https://github.com/HypothesisWorks/hypothesis) to permit the latest version.
- [Release notes](https://github.com/HypothesisWorks/hypothesis/releases)
- [Commits](https://github.com/HypothesisWorks/hypothesis/compare/hypothesis-ruby-0.0.1...hypothesis-python-6.97.0)

---
updated-dependencies:
- dependency-name: hypothesis
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-27 14:21:04 +02:00
dependabot[bot] 2d6d8baf0f
Update hypothesis requirement from <=6.96.1 to <=6.96.2 (#1894)
Updates the requirements on [hypothesis](https://github.com/HypothesisWorks/hypothesis) to permit the latest version.
- [Release notes](https://github.com/HypothesisWorks/hypothesis/releases)
- [Commits](https://github.com/HypothesisWorks/hypothesis/compare/hypothesis-ruby-0.0.1...hypothesis-python-6.96.2)

---
updated-dependencies:
- dependency-name: hypothesis
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-22 08:21:44 +02:00
Tomer Nosrati 9f4fd68aa3
hypothesis<=6.96.1 (#1891) 2024-01-20 01:40:54 +02:00
dependabot[bot] cbae039b9d
Bump pytest from 7.4.3 to 7.4.4 (#1843)
Bumps [pytest](https://github.com/pytest-dev/pytest) from 7.4.3 to 7.4.4.
- [Release notes](https://github.com/pytest-dev/pytest/releases)
- [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/pytest-dev/pytest/compare/7.4.3...7.4.4)

---
updated-dependencies:
- dependency-name: pytest
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-08 18:52:49 +02:00
Asif Saif Uddin c75c2a0b58
Update pytest version (#1817) 2023-11-06 11:02:20 +02:00
woutdenolf 9abe689cd4
add missing zoneinfo dependency (#1732) 2023-05-26 12:20:39 +03:00
Asif Saif Uddin 0b3c35e6f5
Update test.txt (#1698) 2023-04-19 10:30:02 +06:00
Maxwell Muoto 9659f11ae1
Deprecate pytz and use zoneinfo (#1680)
* Main

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

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

* Fix

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

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

* Fix

* Trigger Build

* Fix

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

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

* Fix

* Fix

* noqas

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

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

* Fix

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

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

* remove unused noqa

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

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

* re-add import

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

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

* Fix

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

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

* Fixes

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

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

* use pytest-freezer (#1683)

* Main

* Trigger Build

* Fixes

* remove

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

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

* lint

* Lint

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Asif Saif Uddin <auvipy@gmail.com>
2023-04-09 14:08:23 +06:00
Asif Saif Uddin 1cd524f98d
use pytest-freezer (#1683) 2023-04-01 14:13:06 +06:00
Asif Saif Uddin c62bdee24e
update (#1652) 2023-02-01 18:10:16 +06:00
dobosevych c4829754db
Datetime serialization and deserialization fixed (#1515)
* Datetime serialization and deserialization fixed

* Unit test fixed

* Unit test fixed

* Fixed pylint

* Added Undocumented Autodoc Modules

* Update kombu/utils/json.py

Co-authored-by: Omer Katz <omer.katz@omerkatz.com>

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

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

* Clean and freeze now

* Clean and freeze now

* Clean and freeze now

* Clean and freeze now

Co-authored-by: Asif Saif Uddin <auvipy@gmail.com>
Co-authored-by: Omer Katz <omer.katz@omerkatz.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2022-05-31 11:21:04 +06:00
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