Exemplo n.º 1
0
def test_reset_config():
    assert konch._cfg == konch.Config()
    konch.config({
        'banner': 'Foo bar'
    })
    konch.reset_config()
    assert konch._cfg == konch.Config()
Exemplo n.º 2
0
def teardown_function(func):
    konch.reset_config()
Exemplo n.º 3
0
def test_reset_config():
    assert konch._cfg == konch.Config()
    konch.config({"banner": "Foo bar"})
    konch.reset_config()
    assert konch._cfg == konch.Config()
Exemplo n.º 4
0
def teardown_function(func):
    konch.reset_config()
Exemplo n.º 5
0
def test_reset_config():
    assert konch._cfg == konch.Config()
    konch.config({"banner": "Foo bar"})
    konch.reset_config()
    assert konch._cfg == konch.Config()