mirror of https://github.com/peter4431/rq.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
6fc9454675
* adds unit test for a deserialization error This tests that deserialization exceptions are properly logged, and fails in the manner described in #1422 . * Catch deserializing errors in Worker.handle_exception() This fixes #1422 , and makes tests/test_worker.py::TestWorker::test_deserializing_failure_is_handled pass. * made unit test less specific This is required to get the test to pass under other serializers / other python versions. * Added generic DeserializationError * switched ValueError to DeserializationError in a test The changed test is creating an invalid job, which now raises DeserializationError when data is accessed, as opposed to ValueError. |
4 years ago | |
---|---|---|
.. | ||
config_files | 6 years ago | |
ssl_config | 4 years ago | |
__init__.py | 4 years ago | |
fixtures.py | 4 years ago | |
test_cli.py | 4 years ago | |
test_commands.py | 4 years ago | |
test_connection.py | 5 years ago | |
test_decorator.py | 4 years ago | |
test_fixtures.py | 4 years ago | |
test_helpers.py | 10 years ago | |
test_job.py | 4 years ago | |
test_queue.py | 4 years ago | |
test_registry.py | 4 years ago | |
test_retry.py | 4 years ago | |
test_scheduler.py | 4 years ago | |
test_sentry.py | 4 years ago | |
test_serializers.py | 5 years ago | |
test_utils.py | 4 years ago | |
test_worker.py | 4 years ago | |
test_worker_registration.py | 4 years ago |