mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-01-28 08:03:36 +00:00
- Discussed during progress call. - More testing has happened on the app since making it available. - Will document difficulties with setting up domain name and ISP outgoing traffic on port 25. Tests: - App is available without the advance flag. Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org> Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
27 lines
714 B
Python
27 lines
714 B
Python
# SPDX-License-Identifier: AGPL-3.0-or-later
|
|
"""
|
|
Functional, browser based tests for email app.
|
|
"""
|
|
|
|
import pytest
|
|
|
|
from plinth.tests import functional
|
|
|
|
pytestmark = [pytest.mark.apps, pytest.mark.email]
|
|
|
|
|
|
class TestEmailApp(functional.BaseAppTests):
|
|
app_name = 'email'
|
|
has_service = True
|
|
has_web = False
|
|
check_diagnostics = True
|
|
|
|
@pytest.fixture(autouse=True)
|
|
def fixture_background(self, session_browser):
|
|
functional.login(session_browser)
|
|
functional.install(session_browser, self.app_name)
|
|
functional.app_enable(session_browser, self.app_name)
|
|
yield
|
|
functional.login(session_browser)
|
|
functional.app_disable(session_browser, self.app_name)
|