mirror of
https://github.com/ansible/awx.git
synced 2026-03-06 03:01:06 -03:30
Remove MIDDLEWARE_CLASSES from UI test.
This commit is contained in:
@@ -15,14 +15,13 @@ import mock
|
|||||||
|
|
||||||
from awx.api.views import JobJobTasksList
|
from awx.api.views import JobJobTasksList
|
||||||
from awx.main.models import Job, JobTemplate, JobEvent
|
from awx.main.models import Job, JobTemplate, JobEvent
|
||||||
from awx.main.tests.jobs import BaseJobTestMixin, MIDDLEWARE_CLASSES
|
from awx.main.tests.jobs import BaseJobTestMixin
|
||||||
|
|
||||||
|
|
||||||
@override_settings(CELERY_ALWAYS_EAGER=True,
|
@override_settings(CELERY_ALWAYS_EAGER=True,
|
||||||
CELERY_EAGER_PROPAGATES_EXCEPTIONS=True,
|
CELERY_EAGER_PROPAGATES_EXCEPTIONS=True,
|
||||||
CALLBACK_CONSUMER_PORT='',
|
CALLBACK_CONSUMER_PORT='',
|
||||||
ANSIBLE_TRANSPORT='local',
|
ANSIBLE_TRANSPORT='local')
|
||||||
MIDDLEWARE_CLASSES=MIDDLEWARE_CLASSES)
|
|
||||||
class JobTasksTests(BaseJobTestMixin, LiveServerTestCase):
|
class JobTasksTests(BaseJobTestMixin, LiveServerTestCase):
|
||||||
"""A set of tests to ensure that the job_tasks endpoint, available at
|
"""A set of tests to ensure that the job_tasks endpoint, available at
|
||||||
`/api/v1/jobs/{id}/job_tasks/`, works as expected.
|
`/api/v1/jobs/{id}/job_tasks/`, works as expected.
|
||||||
|
|||||||
Reference in New Issue
Block a user