rq/tests
Selwin Ong 0691b4d46e
Multiple results using Redis Streams (#1725)
* WIP job results

* Result can now be saved

* Successfully saved and restored result

* result.save() should accept pipeline

* Successful results are saved

* Failures are now saved properly too.

* Added test for Result.get_latest()

* Checkpoint

* Got Result.all() to work

* Added Result.count(), Result.delete()

* Backward compatibility for job.result and job.exc_info

* Added some typing

* More typing stuff

* Fixed typing in job.py

* More typing updates

* Only keep the last 10 results

* Documented job.results()

* Got results test to pass

* Don't run test_results.py on Redis server < 5.0

* Fixed mock import on some Python versions

* Remove Redis 3 from test matrix

* Jobs should never use the new Result implementation if server is < 5.0

* Results should only be created is Redis stream is supported.

* Added back Redis 3 to test matrix

* Fixed job.supports_redis_streams

* Fixed worker test

* Updated docs.
2022-11-19 15:17:35 +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 Improve the lint situation (#1688) 2022-08-07 06:48:00 +07:00
test.json Allows enqueueing by the cli (#1466) 2021-08-20 13:43:06 +07:00
test_callbacks.py Revert "Jobs that are run synchronously should always raise an exception" (#1682) 2022-07-31 15:53:18 +07:00
test_cli.py Improve the lint situation (#1688) 2022-08-07 06:48:00 +07:00
test_commands.py Respect serializer (#1538) 2021-08-24 07:40:29 +07:00
test_connection.py Drop python2-specific syntax (#1674) 2022-07-24 08:17:07 +07:00
test_decorator.py Improve the lint situation (#1688) 2022-08-07 06:48:00 +07:00
test_dependencies.py Typing (#1698) 2022-10-01 16:34:30 +07:00
test_fixtures.py Drop python2-specific syntax (#1674) 2022-07-24 08:17:07 +07:00
test_helpers.py Restored the ability to specify connection params in config 2015-02-23 17:28:51 +07:00
test_job.py Multiple results using Redis Streams (#1725) 2022-11-19 15:17:35 +07:00
test_queue.py Improve the lint situation (#1688) 2022-08-07 06:48:00 +07:00
test_registry.py Multiple results using Redis Streams (#1725) 2022-11-19 15:17:35 +07:00
test_results.py Multiple results using Redis Streams (#1725) 2022-11-19 15:17:35 +07:00
test_retry.py Make unstable tests more stable (#1523) 2021-08-03 08:00:49 +07:00
test_scheduler.py Improve the lint situation (#1688) 2022-08-07 06:48:00 +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 Cross platform simple worker (#1629) 2022-03-10 08:04:24 +07:00
test_utils.py Improve the lint situation (#1688) 2022-08-07 06:48:00 +07:00
test_worker.py Multiple results using Redis Streams (#1725) 2022-11-19 15:17:35 +07:00
test_worker_registration.py Use unittest.mock instead of mock (#1673) 2022-07-24 07:12:40 +07:00