From 650c16f91418bdd6d17b5a81ac1bda4d12b9f70b Mon Sep 17 00:00:00 2001 From: James Valleroy Date: Thu, 30 Sep 2021 11:05:10 -0400 Subject: [PATCH] tests: Add backups mark for openvpn, pagekite, privoxy Signed-off-by: James Valleroy Reviewed-by: Sunil Mohan Adapa --- plinth/modules/openvpn/tests/test_functional.py | 1 + plinth/modules/pagekite/tests/test_functional.py | 1 + plinth/modules/privoxy/tests/test_functional.py | 1 + 3 files changed, 3 insertions(+) diff --git a/plinth/modules/openvpn/tests/test_functional.py b/plinth/modules/openvpn/tests/test_functional.py index e04bd3c25..10d13ffdb 100644 --- a/plinth/modules/openvpn/tests/test_functional.py +++ b/plinth/modules/openvpn/tests/test_functional.py @@ -55,6 +55,7 @@ def test_user_group(session_browser): functional.login(session_browser) +@pytest.mark.backups def test_backup_restore(session_browser): """Test backup and restore of app data.""" functional.app_enable(session_browser, 'openvpn') diff --git a/plinth/modules/pagekite/tests/test_functional.py b/plinth/modules/pagekite/tests/test_functional.py index 3ea48b5ee..64fd8cf92 100644 --- a/plinth/modules/pagekite/tests/test_functional.py +++ b/plinth/modules/pagekite/tests/test_functional.py @@ -49,6 +49,7 @@ def test_configure(session_browser): 'mysecret') == _get_configuration(session_browser) +@pytest.mark.backups def test_backup_restore(session_browser): """Test backup and restore of configuration.""" functional.app_enable(session_browser, 'pagekite') diff --git a/plinth/modules/privoxy/tests/test_functional.py b/plinth/modules/privoxy/tests/test_functional.py index 3554532d8..74a028d89 100644 --- a/plinth/modules/privoxy/tests/test_functional.py +++ b/plinth/modules/privoxy/tests/test_functional.py @@ -29,6 +29,7 @@ def test_enable_disable(session_browser): assert functional.service_is_not_running(session_browser, 'privoxy') +@pytest.mark.backups def test_backup_restore(session_browser): """Test backup and restore.""" functional.app_enable(session_browser, 'privoxy')