Remove unused imports

(cherry picked from commit 586817481119c4fc4a39f8804e7871a43491e01f)
This commit is contained in:
Zack Cerza 2013-09-26 10:47:43 -05:00
parent a2c9bdc7ba
commit 8497437003
9 changed files with 9 additions and 20 deletions

View File

@ -14,7 +14,6 @@ import yaml
import json
from teuthology import safepath
from teuthology import lockstatus
from .orchestra import run
from .config import config

View File

@ -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.

View File

@ -1,7 +1,6 @@
from cStringIO import StringIO
import random
import time
import re
import gevent
import json
import threading

View File

@ -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.

View File

@ -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:

View File

@ -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

View File

@ -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.

View File

@ -2,8 +2,6 @@ import logging
import contextlib
import time
from ..orchestra import run
log = logging.getLogger(__name__)
@contextlib.contextmanager

View File

@ -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):
"""