mirror of
https://github.com/ansible/awx.git
synced 2026-01-17 04:31:21 -03:30
Skip troublesome old job tests
These are actively being worked on by matburt and cmeyers, merging these skips because the otherwise unrelated test failures are causing headaches for the UI team.
This commit is contained in:
parent
6cb83052b4
commit
a0017eb074
@ -1,6 +1,9 @@
|
||||
# Copyright (c) 2015 Ansible, Inc.
|
||||
# All Rights Reserved.
|
||||
|
||||
import os
|
||||
import unittest2 as unittest
|
||||
|
||||
from django.conf import settings
|
||||
from django.test import LiveServerTestCase
|
||||
from django.test.utils import override_settings
|
||||
@ -8,6 +11,7 @@ from django.test.utils import override_settings
|
||||
from awx.main.tests.job_base import BaseJobTestMixin
|
||||
|
||||
|
||||
@unittest.skipIf(os.environ.get('SKIP_SLOW_TESTS', False), 'Skipping slow test')
|
||||
@override_settings(CELERY_ALWAYS_EAGER=True,
|
||||
CELERY_EAGER_PROPAGATES_EXCEPTIONS=True,
|
||||
ANSIBLE_TRANSPORT='local')
|
||||
|
||||
@ -4,6 +4,8 @@
|
||||
# Python
|
||||
from __future__ import absolute_import
|
||||
import json
|
||||
import os
|
||||
import unittest2 as unittest
|
||||
|
||||
# Django
|
||||
from django.core.urlresolvers import reverse
|
||||
@ -15,6 +17,7 @@ from awx.main.tests.job_base import BaseJobTestMixin
|
||||
|
||||
__all__ = ['JobRelaunchTest',]
|
||||
|
||||
@unittest.skipIf(os.environ.get('SKIP_SLOW_TESTS', False), 'Skipping slow test')
|
||||
class JobRelaunchTest(BaseJobTestMixin, BaseLiveServerTest):
|
||||
|
||||
def test_job_relaunch(self):
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user