use_vt on DEBUG log level

This commit is contained in:
Daniel Wallace 2017-10-11 21:46:03 -06:00
parent c35e413ec2
commit 5234f706c5
No known key found for this signature in database
GPG key ID: 5FA5E5544F010D48

View file

@ -22,7 +22,7 @@ class KitchenTestCase(TestCase):
setup kitchen tests
'''
cls.topdir = '/' + os.path.join(*CURRENT_DIR.split('/')[:-2])
cls.use_vt = int(os.environ.get('TESTS_LOG_LEVEL')) >= 3
cls.use_vt = int(os.environ.get('TESTS_LOG_LEVEL')) >= 5
cmd.run('python setup.py sdist', cwd=cls.topdir)
cmd.run('bundle install', cwd=CURRENT_DIR)
cls.env = {