Disabled logging in tests
This commit is contained in:
parent
3ff6366b5b
commit
28878d9c4a
@ -21,6 +21,9 @@ from novaclient.v1_1 import client
|
||||
|
||||
import neat.globals.manager as manager
|
||||
|
||||
import logging
|
||||
logging.disable(logging.CRITICAL)
|
||||
|
||||
|
||||
class GlobalManager(TestCase):
|
||||
|
||||
|
@ -17,6 +17,9 @@ from pyqcy import *
|
||||
|
||||
import neat.globals.vm_placement.bin_packing as packing
|
||||
|
||||
import logging
|
||||
logging.disable(logging.CRITICAL)
|
||||
|
||||
|
||||
class BinPacking(TestCase):
|
||||
|
||||
|
@ -20,6 +20,9 @@ from operator import le
|
||||
import neat.locals.overload.mhod.bruteforce as b
|
||||
import neat.locals.overload.mhod.nlp as nlp
|
||||
|
||||
import logging
|
||||
logging.disable(logging.CRITICAL)
|
||||
|
||||
|
||||
class Bruteforce(TestCase):
|
||||
|
||||
|
@ -17,6 +17,9 @@ from pyqcy import *
|
||||
|
||||
import neat.locals.overload.mhod.core as c
|
||||
|
||||
import logging
|
||||
logging.disable(logging.CRITICAL)
|
||||
|
||||
|
||||
class Core(TestCase):
|
||||
|
||||
|
@ -17,6 +17,9 @@ from pyqcy import *
|
||||
|
||||
import neat.locals.overload.mhod.l_2_states as l
|
||||
|
||||
import logging
|
||||
logging.disable(logging.CRITICAL)
|
||||
|
||||
|
||||
class L2States(TestCase):
|
||||
|
||||
|
@ -21,6 +21,9 @@ import re
|
||||
|
||||
import neat.locals.overload.mhod.multisize_estimation as m
|
||||
|
||||
import logging
|
||||
logging.disable(logging.CRITICAL)
|
||||
|
||||
|
||||
def c(data):
|
||||
return deepcopy(data)
|
||||
|
@ -19,6 +19,9 @@ import operator
|
||||
|
||||
import neat.locals.overload.mhod.nlp as nlp
|
||||
|
||||
import logging
|
||||
logging.disable(logging.CRITICAL)
|
||||
|
||||
|
||||
class Nlp(TestCase):
|
||||
|
||||
|
@ -17,6 +17,9 @@ from pyqcy import *
|
||||
|
||||
import neat.locals.overload.otf as otf
|
||||
|
||||
import logging
|
||||
logging.disable(logging.CRITICAL)
|
||||
|
||||
|
||||
class Otf(TestCase):
|
||||
|
||||
|
@ -17,6 +17,9 @@ from pyqcy import *
|
||||
|
||||
import neat.locals.overload.statistics as stats
|
||||
|
||||
import logging
|
||||
logging.disable(logging.CRITICAL)
|
||||
|
||||
|
||||
class Statistics(TestCase):
|
||||
|
||||
|
@ -17,6 +17,9 @@ from pyqcy import *
|
||||
|
||||
import neat.locals.overload.trivial as trivial
|
||||
|
||||
import logging
|
||||
logging.disable(logging.CRITICAL)
|
||||
|
||||
|
||||
class Trivial(TestCase):
|
||||
|
||||
|
@ -23,6 +23,9 @@ import neat.common as common
|
||||
import neat.locals.collector as collector
|
||||
import neat.db_utils as db_utils
|
||||
|
||||
import logging
|
||||
logging.disable(logging.CRITICAL)
|
||||
|
||||
|
||||
class Collector(TestCase):
|
||||
|
||||
|
@ -22,6 +22,9 @@ import neat.locals.manager as manager
|
||||
import neat.common as common
|
||||
import neat.locals.collector as collector
|
||||
|
||||
import logging
|
||||
logging.disable(logging.CRITICAL)
|
||||
|
||||
|
||||
class LocalManager(TestCase):
|
||||
|
||||
|
@ -17,6 +17,9 @@ from pyqcy import *
|
||||
|
||||
import neat.locals.underload.trivial as trivial
|
||||
|
||||
import logging
|
||||
logging.disable(logging.CRITICAL)
|
||||
|
||||
|
||||
class Trivial(TestCase):
|
||||
|
||||
|
@ -17,6 +17,9 @@ from pyqcy import *
|
||||
|
||||
import neat.locals.vm_selection.algorithms as selection
|
||||
|
||||
import logging
|
||||
logging.disable(logging.CRITICAL)
|
||||
|
||||
|
||||
class Selection(TestCase):
|
||||
|
||||
|
@ -17,11 +17,13 @@ from pyqcy import *
|
||||
|
||||
import os
|
||||
import shutil
|
||||
import logging
|
||||
import libvirt
|
||||
|
||||
import neat.common as common
|
||||
|
||||
import logging
|
||||
logging.disable(logging.CRITICAL)
|
||||
|
||||
|
||||
class Common(TestCase):
|
||||
|
||||
|
@ -17,6 +17,9 @@ from pyqcy import *
|
||||
|
||||
import neat.config as config
|
||||
|
||||
import logging
|
||||
logging.disable(logging.CRITICAL)
|
||||
|
||||
|
||||
class Config(TestCase):
|
||||
|
||||
|
@ -17,6 +17,9 @@ from pyqcy import *
|
||||
|
||||
import neat.db_utils as db_utils
|
||||
|
||||
import logging
|
||||
logging.disable(logging.CRITICAL)
|
||||
|
||||
|
||||
class Db(TestCase):
|
||||
|
||||
|
@ -20,6 +20,9 @@ from sqlalchemy import *
|
||||
import neat.db
|
||||
import neat.db_utils as db_utils
|
||||
|
||||
import logging
|
||||
logging.disable(logging.CRITICAL)
|
||||
|
||||
|
||||
class DbUtils(TestCase):
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user