Пример #1
0
def test_restore():
    """ Test the restore function """
    instance = Action()
    status = instance.restore('not a backup')
    assert isinstance(status, tuple)
    assert status[0] == False
Пример #2
0
def test_restore():
    """ Test the restore function """
    Action.restore()