Пример #1
0
def test_case01():
    with assert_helper.assertRaises(TypeError):
        configureLogging()
Пример #2
0
def test_case06():
    result = configureLogging('/tmp', None)
    assert isinstance(result, logging.Logger)
Пример #3
0
def test_case03():
    with assert_helper.assertRaises(TypeError):
        configureLogging(None, 'myLog')
Пример #4
0
def test_case04():
    result = configureLogging('/tmp', 'mylog', 'abc')
    assert isinstance(result, logging.Logger)
def test_case01():
    with assert_raises(TypeError):
        configureLogging()