diff --git a/roles/web-app-pixelfed/files/playwright/playwright.spec.js b/roles/web-app-pixelfed/files/playwright/playwright.spec.js index f7da6c81c7..5b13289c5f 100644 --- a/roles/web-app-pixelfed/files/playwright/playwright.spec.js +++ b/roles/web-app-pixelfed/files/playwright/playwright.spec.js @@ -13,10 +13,10 @@ test.use({ test.beforeAll(shared.beforeAll); -test.afterAll(shared.afterAll); - test.beforeEach(shared.beforeEach); +test.afterAll(shared.afterAll); + require("./test-oidc-login-biber").register(shared); require("./test-oidc-login-administrator").register(shared); require("./test-native-login-administrator").register(shared); diff --git a/tests/unit/python/plugins/lookup/test_email.py b/tests/unit/python/plugins/lookup/test_email.py index bf4bcdcacf..95b29c3efb 100644 --- a/tests/unit/python/plugins/lookup/test_email.py +++ b/tests/unit/python/plugins/lookup/test_email.py @@ -5,6 +5,7 @@ import os import tempfile import unittest from pathlib import Path +from typing import ClassVar from unittest.mock import patch from ansible.errors import AnsibleError @@ -442,8 +443,12 @@ class TestProviderOnionIsClusterWide(unittest.TestCase): ONION = "a" * 56 + ".onion" TOR_ON = "{{ 'svc-net-tor' in group_names }}" - STALWART_PORTS = {"smtp": 25, "smtps": 465} - MAILU_PORTS = {"smtp": 25, "smtps": 465, "submission": 587} + STALWART_PORTS: ClassVar[dict[str, int]] = {"smtp": 25, "smtps": 465} + MAILU_PORTS: ClassVar[dict[str, int]] = { + "smtp": 25, + "smtps": 465, + "submission": 587, + } @classmethod def setUpClass(cls) -> None: