mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2026-11-11 21:26:44 +00:00
fix(lint): annotate ClassVar in test_email and reorder pixelfed playwright hooks
This commit is contained in:
2 files changed
+9
-4
No files matched your search
@@ -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:
|
||||
|
||||
Reference in new issue
Block a user