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')
def cleanup(self): do_cleanup()