FreedomBox/plinth/modules/i2p/tests/test_functional.py
James Valleroy 10ece80a56
tests: functional: Add diagnostics delay parameter
Time to delay after app is enabled, before checking
diagnosics. Default value is 0 (no delay).

Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2021-11-08 11:55:31 -08:00

18 lines
336 B
Python

# SPDX-License-Identifier: AGPL-3.0-or-later
"""
Functional, browser based tests for i2p app.
"""
import pytest
from plinth.tests.functional import BaseAppTests
pytestmark = [pytest.mark.apps, pytest.mark.i2p]
class TestI2pApp(BaseAppTests):
app_name = 'i2p'
has_service = True
has_web = True
diagnostics_delay = 1