Exemplo n.º 1
0
def test_append_to_history_noop():
    with mock_history(initial=['aaa']) as releases:
        append_to_history('aaa')
        assert releases == ['aaa']
Exemplo n.º 2
0
def test_append_to_history_noop():
    with mock_history(initial=['aaa']) as releases:
        append_to_history('aaa')
        assert releases == ['aaa']
Exemplo n.º 3
0
def test_append_to_history():
    with mock_history(initial=['aaa']) as releases:
        append_to_history('bbb')
        assert releases == ['aaa', 'bbb']
Exemplo n.º 4
0
def test_append_to_history():
    with mock_history(initial=['aaa']) as releases:
        append_to_history('bbb')
        assert releases == ['aaa', 'bbb']