Update tests
This commit is contained in:
16
tests/types.py
Normal file
16
tests/types.py
Normal file
@ -0,0 +1,16 @@
|
||||
"""Typings."""
|
||||
|
||||
from dataclasses import dataclass
|
||||
from collections.abc import Callable
|
||||
|
||||
PortFactory = Callable[[], int]
|
||||
|
||||
|
||||
@dataclass
|
||||
class TestPorts:
|
||||
"""Test port dataclass."""
|
||||
|
||||
backend: int
|
||||
admin: int
|
||||
sshd: int
|
||||
|
||||
Reference in New Issue
Block a user