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