#!/usr/bin/env python
# -*- coding: utf-8 -*-

import os
import sys
import nose
import logging

logging.disable(logging.DEBUG)  # Disable debug logging when running the test suite.


def start(argv=None):
    sys.exitfunc = lambda: sys.stderr.write('Shutting down...\n')

    if argv is None:
        argv = [
            'nosetests',
            '--verbose',
            '--with-coverage',
            '--cover-html', '--cover-html-dir=.htmlcov',
            '--cover-erase',
            '--cover-branches',
            '--cover-package=chemtrails',
        ]

    nose.run_exit(argv=argv, defaultTest=os.path.abspath(os.path.dirname(__file__)))

if __name__ == '__main__':
    start(sys.argv)

#!/usr/bin/env python
# -*- coding: utf-8 -*-

import os
import sys
import nose
import logging

logging.disable(logging.INFO)  # Disable debug logging when running the test suite.


def start(argv=None):
    sys.exitfunc = lambda: sys.stderr.write('Shutting down...\n')

    if argv is None:
        argv = [
            'nosetests',
            '--verbose',
            '--with-coverage',
            '--cover-html', '--cover-html-dir=.htmlcov',
            '--cover-erase',
            '--cover-branches',
            '--cover-package=chemtrails',
        ]

    nose.run_exit(argv=argv, defaultTest=os.path.abspath(os.path.dirname(__file__)))

if __name__ == '__main__':
    start(sys.argv)

Disable INFO messages and down when running test suite
Disable INFO messages and down when running test suite
