rq/tests
thomas 01ebe25f56 Address Deleted Dependencies
1) Check if `created_at` when checking if dependencies are met.

   If `created_at` is `None` then the job has been deleted. This is sort of hack - we just need one of the fields on the job's hash that is ALWAYS populated. You can persist a job to redis without setting status...

2) Job#fetch_dependencies no longer raises NoSuchJob.

   If one of a job's dependencies has been deleted from Redis, it is not returned from `fetch_dependencies` and no exception is raised.
2020-04-16 23:39:44 -04:00
..
config_files RQ v1.0! (#1059) 2019-03-30 09:13:56 +07:00
__init__.py refactor: use try ImportError instead of py-version check (#1034) 2019-01-30 06:54:00 +07:00
fixtures.py Implement Customizable Serializer Support (#1219) 2020-04-16 19:53:48 +07:00
test_cli.py Job scheduling (#1163) 2020-01-04 10:14:52 +07:00
test_connection.py Fixes Job.fetch when return value is unpickleable (#1184) 2020-01-31 19:28:32 +07:00
test_decorator.py Multi Dependency Support [Internal API Changes] (#1147) 2019-10-22 08:34:47 +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 Address Deleted Dependencies 2020-04-16 23:39:44 -04:00
test_queue.py Address Deleted Dependencies 2020-04-16 23:39:44 -04:00
test_registry.py FailedJobRegistry.requeue() resets job.started_at and job.ended_at (#1227) 2020-04-01 07:42:34 +07:00
test_scheduler.py Add job status setting in enqueue_at (and in enqueue_in) methods (#1181) 2020-01-23 07:11:42 +07:00
test_sentry.py RQ v1.0! (#1059) 2019-03-30 09:13:56 +07:00
test_serializers.py Implement Customizable Serializer Support (#1219) 2020-04-16 19:53:48 +07:00
test_utils.py add milliseconds into timestamps, fix #721 2017-09-09 20:28:53 +01:00
test_worker.py Implement Customizable Serializer Support (#1219) 2020-04-16 19:53:48 +07:00
test_worker_registration.py RQ v1.0! (#1059) 2019-03-30 09:13:56 +07:00