Пример #1
0
def test_edit_with_editor_2():

    """
    Verify we can load a variable into the editor.
    """

    wmw.edit_with_editor('abcdef')
    assert m.called
    assert t.called
Пример #2
0
def test_edit_with_editor_1():

    """
    Verify we can load a blank editor.
    """

    wmw.edit_with_editor()
    assert m.called
    assert t.called