add docstring for nextcloud quota test

This commit is contained in:
Daniel 2023-12-07 23:11:41 +01:00
parent b3a7ba876f
commit 00bfafebd3

View file

@ -5,7 +5,7 @@ from playwright.sync_api import Page, expect
def test_nextcloud_quota(nextcloud_admin_page: Page, env_config: dict[str, str]):
"""Test Nextcloud"""
"""Tests if the quota set in .env file matches the actual quota shown on the page within 10%"""
if env_config.get("DEFAULT_QUOTA"):
# get quota from website
quota_string = nextcloud_admin_page.get_by_text(