rq/tests
Rony Lutsky 04722339d7
Consolidate job callbacks execution (#1851)
* consolidate job failure callback execution

* fix

* success callback as well

* merge fix

* create Callback class and change how callbacks serde

* deprecation

* add tests

* string format

* pr fix

* revert serialization changes

* fix timeout typing

* add documentation

* add test

* fix a bug

* fix tests

* move job heartbeat call to worker and make sure there is always a callback timeout

* fix test

* fix test
2023-03-21 06:44:41 +07:00
..
config_files Drop python2-specific syntax (#1674) 2022-07-24 08:17:07 +07:00
ssl_config Fix RQScheduler when run with SSL connection (#1383) 2020-11-27 07:27:30 +07:00
Dockerfile Typing (#1698) 2022-10-01 16:34:30 +07:00
__init__.py Multiple results using Redis Streams (#1725) 2022-11-19 15:17:35 +07:00
fixtures.py Remove compatibility layer for < 3.5 (#1761) 2023-01-26 13:04:17 +07:00
test.json Allows enqueueing by the cli (#1466) 2021-08-20 13:43:06 +07:00
test_callbacks.py Use job.return_value() instead of job.result when processing callbacks (#1801) 2023-02-05 19:24:15 +07:00
test_cli.py Consolidate job callbacks execution (#1851) 2023-03-21 06:44:41 +07:00
test_commands.py Make test_commands pass on MacOS (#1735) 2022-11-21 20:20:53 +07:00
test_connection.py Remove `use_connection` (#1859) 2023-03-07 10:54:47 +07:00
test_decorator.py Improve the lint situation (#1688) 2022-08-07 06:48:00 +07:00
test_dependencies.py Check dependencies when enqueue via Queue.enqueue_job() (#1837) 2023-03-09 06:15:57 +07:00
test_fixtures.py Drop python2-specific syntax (#1674) 2022-07-24 08:17:07 +07:00
test_helpers.py Update arguments passed to the Sentinel Object when created from the settings (#1850) 2023-03-07 10:03:31 +07:00
test_job.py Consolidate job callbacks execution (#1851) 2023-03-21 06:44:41 +07:00
test_queue.py Improve the lint situation (#1688) 2022-08-07 06:48:00 +07:00
test_registry.py Consolidate job callbacks execution (#1851) 2023-03-21 06:44:41 +07:00
test_results.py fix: queue.result_ttl=-1 (#1819) 2023-02-15 17:17:09 +07:00
test_retry.py Make unstable tests more stable (#1523) 2021-08-03 08:00:49 +07:00
test_scheduler.py Add to worker redis record scheduler info (#1787) 2023-02-13 09:05:12 +07:00
test_sentry.py Drop python2-specific syntax (#1674) 2022-07-24 08:17:07 +07:00
test_serializers.py Drop python2-specific syntax (#1674) 2022-07-24 08:17:07 +07:00
test_timeouts.py Fix TimerDeathPenalty not properly handling negative/infinite timeout (#1845) 2023-03-03 06:02:07 +07:00
test_utils.py Cache redis version in the connection object (#1742) 2022-12-29 06:58:13 +07:00
test_worker.py New dequeue strategy (#1806) 2023-03-05 06:23:00 +07:00
test_worker_registration.py Use unittest.mock instead of mock (#1673) 2022-07-24 07:12:40 +07:00