Esempio n. 1
0
def test_do_cleanup():
    from node_tools import state_data as stest

    get_state(cache)
    nodeState = AttrDict.from_nested_dict(stest.fpnState)
    # print(nodeState)
    with pytest.raises(FileNotFoundError):
        do_cleanup('./bin', '127.0.0.1')

    with pytest.raises(FileNotFoundError):
        do_cleanup(path='./bin')
Esempio n. 2
0
    def cleanup(self):

        do_cleanup()