FreedomBox/plinth/modules/ssh/tests/test_functional.py
James Valleroy 017b1b43da
ssh: Use BaseAppTests for functional tests
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2021-10-25 10:16:38 -07:00

20 lines
426 B
Python

# SPDX-License-Identifier: AGPL-3.0-or-later
"""
Functional, browser based tests for ssh app.
"""
import pytest
from plinth.tests.functional import BaseAppTests
pytestmark = [pytest.mark.system, pytest.mark.ssh]
class TestSshApp(BaseAppTests):
app_name = 'ssh'
has_service = True
has_web = False
# TODO: Improve test_backup_restore to actually check that earlier
# ssh certificate has been restored.