mirror of
https://github.com/ceph/ceph
synced 2025-02-21 18:17:42 +00:00
Remove unused imports
(cherry picked from commit 586817481119c4fc4a39f8804e7871a43491e01f)
This commit is contained in:
parent
a2c9bdc7ba
commit
8497437003
@ -14,7 +14,6 @@ import yaml
|
||||
import json
|
||||
|
||||
from teuthology import safepath
|
||||
from teuthology import lockstatus
|
||||
from .orchestra import run
|
||||
from .config import config
|
||||
|
||||
|
@ -11,18 +11,16 @@ import os
|
||||
import re
|
||||
import subprocess
|
||||
import sys
|
||||
import tempfile
|
||||
from textwrap import dedent, fill
|
||||
import time
|
||||
import yaml
|
||||
|
||||
from teuthology import misc
|
||||
from teuthology import safepath
|
||||
from teuthology import lock as lock
|
||||
from teuthology.config import config
|
||||
|
||||
log = logging.getLogger(__name__)
|
||||
|
||||
|
||||
def main():
|
||||
parser = argparse.ArgumentParser(description="""
|
||||
Run a suite of ceph integration tests.
|
||||
|
@ -1,7 +1,6 @@
|
||||
from cStringIO import StringIO
|
||||
import random
|
||||
import time
|
||||
import re
|
||||
import gevent
|
||||
import json
|
||||
import threading
|
||||
|
@ -1,13 +1,12 @@
|
||||
import sys
|
||||
import logging
|
||||
import contextlib
|
||||
|
||||
from teuthology import run_tasks
|
||||
from teuthology import parallel
|
||||
from ..orchestra import run
|
||||
|
||||
log = logging.getLogger(__name__)
|
||||
|
||||
|
||||
def task(ctx, config):
|
||||
"""
|
||||
Run a group of tasks in parallel.
|
||||
|
@ -4,7 +4,6 @@
|
||||
# grep '^ *# TESTCASE' | sed 's/^ *# TESTCASE //'
|
||||
#
|
||||
|
||||
import contextlib
|
||||
import copy
|
||||
import json
|
||||
import logging
|
||||
@ -19,11 +18,11 @@ import boto.s3.acl
|
||||
import teuthology.task_util.rgw as rgw_utils
|
||||
|
||||
from teuthology import misc as teuthology
|
||||
from teuthology import contextutil
|
||||
from teuthology.task_util.rgw import rgwadmin
|
||||
|
||||
log = logging.getLogger(__name__)
|
||||
|
||||
|
||||
def successful_ops(out):
|
||||
summary = out['summary']
|
||||
if len(summary) == 0:
|
||||
|
@ -1,12 +1,11 @@
|
||||
import sys
|
||||
import logging
|
||||
import contextlib
|
||||
|
||||
from teuthology import run_tasks
|
||||
from ..orchestra import run
|
||||
|
||||
log = logging.getLogger(__name__)
|
||||
|
||||
|
||||
def task(ctx, config):
|
||||
"""
|
||||
Sequentialize a group of tasks into one executable block
|
||||
|
@ -1,11 +1,9 @@
|
||||
import logging
|
||||
import time
|
||||
|
||||
from teuthology import misc as teuthology
|
||||
from ..orchestra import run
|
||||
|
||||
log = logging.getLogger(__name__)
|
||||
|
||||
|
||||
def task(ctx, config):
|
||||
"""
|
||||
Sleep for some number of seconds.
|
||||
|
@ -2,8 +2,6 @@ import logging
|
||||
import contextlib
|
||||
import time
|
||||
|
||||
from ..orchestra import run
|
||||
|
||||
log = logging.getLogger(__name__)
|
||||
|
||||
@contextlib.contextmanager
|
||||
|
@ -3,10 +3,10 @@ import logging
|
||||
import proc_thrasher
|
||||
|
||||
from ..orchestra import run
|
||||
from teuthology import misc as teuthology
|
||||
|
||||
log = logging.getLogger(__name__)
|
||||
|
||||
|
||||
@contextlib.contextmanager
|
||||
def task(ctx, config):
|
||||
"""
|
||||
|
Loading…
Reference in New Issue
Block a user