Did I find the right examples for you? yes no

All Samples(9)  |  Call(8)  |  Derive(0)  |  Import(1)

src/p/y/python-veracity-0.0.11/veracity/poller.py   python-veracity(Download)
 
    # Configure logging
    common.configure_logging(args.verbose)
 
    # Parse the configuration file

src/p/y/python-veracity-0.0.11/veracity/builder.py   python-veracity(Download)
 
    # Configure logging
    common.configure_logging(args.verbose)
 
    # Parse the configuration file

src/p/y/python-veracity-0.0.11/veracity/tracking.py   python-veracity(Download)
 
    # Configure logging
    common.configure_logging(args.verbose)
 
    # Ensure we are running as the correct user

src/p/y/python-veracity-0.0.11/veracity/vscript.py   python-veracity(Download)
 
if __name__ == '__main__':  # pragma: no cover, integration
    common.configure_logging()
    for name in sys.argv[1:]:
        print((init_builds(name)))

src/p/y/python-veracity-0.0.11/veracity/test/test_common.py   python-veracity(Download)
import tempfile
 
from veracity.common import Config, parse_config, find_config, configure_logging
 
from veracity.test import FILES
    def test_configure_logging(self):
        """Verify the default logging is set."""
        with patch('logging.basicConfig') as _basicConfig:
            configure_logging()
        _basicConfig.assert_called_with(level=logging.INFO)
 
    def test_configure_logging_1(self):
        """Verify the logging level 1 is set."""
        with patch('logging.basicConfig') as _basicConfig:
            configure_logging(1)
    def test_configure_logging_2(self):
        """Verify the logging level 2 is set."""
        with patch('logging.basicConfig') as _basicConfig:
            configure_logging(2)
        _basicConfig.assert_called_with(level=logging.DEBUG)
 
    def test_configure_logging_3(self):
        """Verify the logging level 3 is set."""
        with patch('logging.basicConfig') as _basicConfig:
            configure_logging(3)