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