Beispiel #1
0
def test_no_history():
    hist = cmdhistory.History()
    assert hist.history == []
Beispiel #2
0
def test_history():
    hist = cmdhistory.History(history=HISTORY)
    assert hist.history == HISTORY
Beispiel #3
0
def hist():
    return cmdhistory.History(history=HISTORY)