Fix exception assertion

This commit is contained in:
Alexandre Aubin 2020-05-18 19:57:54 +02:00
parent f9e4c96ca3
commit 0dde1f6d4f

View file

@ -475,7 +475,7 @@ def test_restore_app_already_installed(mocker):
assert _is_installed("wordpress")
with message(mocker, 'restore_already_installed_apps', apps="wordpress"):
with raiseYunohostError(mocker, 'restore_already_installed_apps'):
backup_restore(system=None, name=backup_list()["archives"][0],
apps=["wordpress"])