mirror of
https://github.com/ansible/awx.git
synced 2026-03-06 11:11:07 -03:30
flake8 fix
This commit is contained in:
@@ -1,5 +1,3 @@
|
|||||||
import base64
|
|
||||||
import codecs
|
|
||||||
import json
|
import json
|
||||||
import os
|
import os
|
||||||
import shutil
|
import shutil
|
||||||
@@ -11,11 +9,10 @@ import logging
|
|||||||
from io import StringIO
|
from io import StringIO
|
||||||
|
|
||||||
from django.conf import settings
|
from django.conf import settings
|
||||||
from django.utils.encoding import smart_bytes, smart_str
|
|
||||||
|
|
||||||
import awx
|
import awx
|
||||||
from awx.main.expect import run
|
from awx.main.expect import run
|
||||||
from awx.main.utils import OutputEventFilter, get_system_task_capacity
|
from awx.main.utils import get_system_task_capacity
|
||||||
from awx.main.queue import CallbackQueueDispatcher
|
from awx.main.queue import CallbackQueueDispatcher
|
||||||
|
|
||||||
logger = logging.getLogger('awx.isolated.manager')
|
logger = logging.getLogger('awx.isolated.manager')
|
||||||
|
|||||||
@@ -2,12 +2,10 @@
|
|||||||
|
|
||||||
import os
|
import os
|
||||||
import pytest
|
import pytest
|
||||||
import re
|
|
||||||
import shutil
|
import shutil
|
||||||
import stat
|
import stat
|
||||||
import tempfile
|
import tempfile
|
||||||
import time
|
import time
|
||||||
from collections import OrderedDict
|
|
||||||
from io import StringIO
|
from io import StringIO
|
||||||
from unittest import mock
|
from unittest import mock
|
||||||
|
|
||||||
|
|||||||
@@ -1,12 +1,9 @@
|
|||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
import tempfile
|
|
||||||
import json
|
import json
|
||||||
import yaml
|
|
||||||
import pytest
|
import pytest
|
||||||
from itertools import count
|
from itertools import count
|
||||||
|
|
||||||
from awx.main.utils.encryption import encrypt_value
|
from awx.main.utils.encryption import encrypt_value
|
||||||
from awx.main.tasks import RunJob
|
|
||||||
from awx.main.models import (
|
from awx.main.models import (
|
||||||
Job,
|
Job,
|
||||||
JobTemplate,
|
JobTemplate,
|
||||||
@@ -15,7 +12,6 @@ from awx.main.models import (
|
|||||||
Project,
|
Project,
|
||||||
Inventory
|
Inventory
|
||||||
)
|
)
|
||||||
from awx.main.utils.safe_yaml import SafeLoader
|
|
||||||
|
|
||||||
ENCRYPTED_SECRET = encrypt_value('secret')
|
ENCRYPTED_SECRET = encrypt_value('secret')
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user