Example #1
0
from vsc.utils import fancylogger

# initialize EasyBuild logging, so we disable it
from easybuild.tools.build_log import EasyBuildError
from easybuild.tools.config import set_tmpdir

# set plain text key ring to be used, so a GitHub token stored in it can be obtained without having to provide a password
try:
    import keyring
    keyring.set_keyring(keyring.backends.file.PlaintextKeyring())
except ImportError:
    pass

# disable all logging to significantly speed up tests
fancylogger.disableDefaultHandlers()
fancylogger.setLogLevelError()

# toolkit should be first to allow hacks to work
import test.framework.asyncprocess as a
import test.framework.config as c
import test.framework.easyblock as b
import test.framework.easyconfig as e
import test.framework.easyconfigparser as ep
import test.framework.easyconfigformat as ef
import test.framework.ebconfigobj as ebco
import test.framework.easyconfigversion as ev
import test.framework.filetools as f
import test.framework.format_convert as f_c
import test.framework.general as gen
import test.framework.github as g
import test.framework.license as l
from vsc.utils import fancylogger

# initialize EasyBuild logging, so we disable it
from easybuild.tools.build_log import EasyBuildError
from easybuild.tools.config import set_tmpdir

# set plain text key ring to be used, so a GitHub token stored in it can be obtained without having to provide a password
try:
    import keyring
    keyring.set_keyring(keyring.backends.file.PlaintextKeyring())
except ImportError:
    pass

# disable all logging to significantly speed up tests
fancylogger.disableDefaultHandlers()
fancylogger.setLogLevelError()

# toolkit should be first to allow hacks to work
import test.framework.asyncprocess as a
import test.framework.config as c
import test.framework.easyblock as b
import test.framework.easyconfig as e
import test.framework.easyconfigparser as ep
import test.framework.easyconfigformat as ef
import test.framework.ebconfigobj as ebco
import test.framework.easyconfigversion as ev
import test.framework.filetools as f
import test.framework.format_convert as f_c
import test.framework.general as gen
import test.framework.github as g
import test.framework.license as l