mirror of
https://github.com/ansible/awx.git
synced 2026-03-25 12:55:04 -02:30
fix spelling
This commit is contained in:
@@ -74,7 +74,7 @@ class task:
|
|||||||
getattr(cls.queue, 'im_func', cls.queue)
|
getattr(cls.queue, 'im_func', cls.queue)
|
||||||
)
|
)
|
||||||
if not 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)
|
logger.error(msg)
|
||||||
raise ValueError(msg)
|
raise ValueError(msg)
|
||||||
obj = {
|
obj = {
|
||||||
|
|||||||
@@ -349,7 +349,7 @@ class TestTaskPublisher:
|
|||||||
def test_apply_async_queue_required(self):
|
def test_apply_async_queue_required(self):
|
||||||
with pytest.raises(ValueError) as e:
|
with pytest.raises(ValueError) as e:
|
||||||
message, queue = add.apply_async([2, 2])
|
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):
|
def test_queue_defined_in_task_decorator(self):
|
||||||
message, queue = multiply.apply_async([2, 2])
|
message, queue = multiply.apply_async([2, 2])
|
||||||
|
|||||||
Reference in New Issue
Block a user