summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorTim Gates <tim.gates@iress.com>2022-07-31 12:23:06 +1000
committerGitHub <noreply@github.com>2022-07-31 09:23:06 +0700
commitd82af1469f66ecfecd557aa7be1c00e419df0123 (patch)
tree14424c245836f294ba07ae7a7cbc4f6e7f34b60a /tests
parent145884fcd5a016ee353da9ce1a586044bf058f45 (diff)
downloadrq-d82af1469f66ecfecd557aa7be1c00e419df0123.tar.gz
docs: Fix a few typos (#1679)
There are small typos in: - docs/docs/exceptions.md - docs/docs/jobs.md - rq/queue.py - tests/fixtures.py - tests/test_job.py Fixes: - Should read `slightly` rather than `slighty`. - Should read `requeuing` rather than `requeueing`. - Should read `implementers` rather than `implementors`. - Should read `definition` rather than `defition`. - Should read `canceled` rather than `canceld`. Signed-off-by: Tim Gates <tim.gates@iress.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/fixtures.py2
-rw-r--r--tests/test_job.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/fixtures.py b/tests/fixtures.py
index 9895fed..9279a19 100644
--- a/tests/fixtures.py
+++ b/tests/fixtures.py
@@ -1,6 +1,6 @@
"""
This file contains all jobs that are used in tests. Each of these test
-fixtures has a slighty different characteristics.
+fixtures has a slightly different characteristics.
"""
import os
diff --git a/tests/test_job.py b/tests/test_job.py
index bf7af5b..7dccda3 100644
--- a/tests/test_job.py
+++ b/tests/test_job.py
@@ -820,7 +820,7 @@ class TestJob(RQTestCase):
self.assertNotIn(job, registry)
def test_create_and_cancel_job_fails_already_canceled(self):
- """Ensure job.cancel() fails on already canceld job"""
+ """Ensure job.cancel() fails on already canceled job"""
queue = Queue(connection=self.testconn)
job = queue.enqueue(fixtures.say_hello, job_id='fake_job_id')
self.assertEqual(1, len(queue.get_jobs()))