From c7de3b05285d9a43d4a02e557a5dc679aa40a460 Mon Sep 17 00:00:00 2001 From: chris meyers Date: Thu, 19 Mar 2020 09:01:03 -0400 Subject: [PATCH] fix spelling --- awx/main/dispatch/publish.py | 2 +- awx/main/tests/functional/test_dispatch.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/awx/main/dispatch/publish.py b/awx/main/dispatch/publish.py index 020e7407cd..f7fd7cf4fb 100644 --- a/awx/main/dispatch/publish.py +++ b/awx/main/dispatch/publish.py @@ -74,7 +74,7 @@ class task: getattr(cls.queue, 'im_func', cls.queue) ) if not queue: - msg = f'{cls.name}: Queue value required and may not me None' + msg = f'{cls.name}: Queue value required and may not be None' logger.error(msg) raise ValueError(msg) obj = { diff --git a/awx/main/tests/functional/test_dispatch.py b/awx/main/tests/functional/test_dispatch.py index c13a031af3..aa3c42ce26 100644 --- a/awx/main/tests/functional/test_dispatch.py +++ b/awx/main/tests/functional/test_dispatch.py @@ -349,7 +349,7 @@ class TestTaskPublisher: def test_apply_async_queue_required(self): with pytest.raises(ValueError) as e: message, queue = add.apply_async([2, 2]) - assert "awx.main.tests.functional.test_dispatch.add: Queue value required and may not me None" == e.value.args[0] + assert "awx.main.tests.functional.test_dispatch.add: Queue value required and may not be None" == e.value.args[0] def test_queue_defined_in_task_decorator(self): message, queue = multiply.apply_async([2, 2])