示例#1
0
def test_append_to_history_noop():
    with mock_history(initial=['aaa']) as releases:
        append_to_history('aaa')
        assert releases == ['aaa']
示例#2
0
def test_append_to_history_noop():
    with mock_history(initial=['aaa']) as releases:
        append_to_history('aaa')
        assert releases == ['aaa']
示例#3
0
def test_append_to_history():
    with mock_history(initial=['aaa']) as releases:
        append_to_history('bbb')
        assert releases == ['aaa', 'bbb']
示例#4
0
def test_append_to_history():
    with mock_history(initial=['aaa']) as releases:
        append_to_history('bbb')
        assert releases == ['aaa', 'bbb']