mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-11-29 08:25:10 +00:00
ttrss: Add backup support
- Use backup hooks to dump and restore database. - Add functional test for backup and restore. Signed-off-by: James Valleroy <jvalleroy@mailbox.org> Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
This commit is contained in:
1 parent
8a60581f3d
commit
1eed7d581d
6 files changed
+123
-2
No files matched your search
@@ -240,3 +240,18 @@ def syncthing_assert_folder_present(browser, folder_name):
|
||||
@then(parsers.parse('syncthing folder {folder_name:w} should not be present'))
|
||||
def syncthing_assert_folder_not_present(browser, folder_name):
|
||||
assert not site.syncthing_folder_is_present(browser, folder_name)
|
||||
|
||||
|
||||
@given('I subscribe to a feed')
|
||||
def ttrss_subscribe(browser):
|
||||
site.ttrss_subscribe(browser)
|
||||
|
||||
|
||||
@when('I unsubscribe from the feed')
|
||||
def ttrss_unsubscribe(browser):
|
||||
site.ttrss_unsubscribe(browser)
|
||||
|
||||
|
||||
@then('I should be subscribed to the feed')
|
||||
def ttrss_assert_subscribed(browser):
|
||||
assert site.ttrss_is_subscribed(browser)
|
||||
Reference in new issue
Block a user