mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-05-20 10:34:30 +00:00
tests: functional: Uninstall app after backup and before restore
Closes: #2353. Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org> Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
parent
f0ff0c181b
commit
d23ceb7050
@ -715,6 +715,9 @@ class BaseAppTests:
|
|||||||
def test_backup_restore(self, session_browser):
|
def test_backup_restore(self, session_browser):
|
||||||
"""Test that backup and restore operations work on the app."""
|
"""Test that backup and restore operations work on the app."""
|
||||||
backup_create(session_browser, self.app_name, 'test_' + self.app_name)
|
backup_create(session_browser, self.app_name, 'test_' + self.app_name)
|
||||||
|
if self.can_uninstall:
|
||||||
|
uninstall(session_browser, self.app_name)
|
||||||
|
|
||||||
backup_restore(session_browser, self.app_name, 'test_' + self.app_name)
|
backup_restore(session_browser, self.app_name, 'test_' + self.app_name)
|
||||||
self.assert_app_running(session_browser)
|
self.assert_app_running(session_browser)
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user