* - fix pytest setup that can be startet from the rootdir - support python venv environment - add pytest.ini - move common settings from .vscode/settings.json into pytest.ini - add missing requirements - fix import paths for pytests * - support python venv environment * initial version * - add missing requirements python-dotenv * fix import paths for pytests * fix pytest warnings * initial version * report 5 slowest test durations * add more vscode settings for python
18 lines
425 B
Python
18 lines
425 B
Python
from abc import abstractmethod
|
|
|
|
from async_ifc import AsyncIfc
|
|
from iter_registry import AbstractIterMeta
|
|
|
|
|
|
class ProtocolIfc(metaclass=AbstractIterMeta):
|
|
_registry = []
|
|
|
|
@abstractmethod
|
|
def __init__(self, addr, ifc: "AsyncIfc", server_side: bool,
|
|
client_mode: bool = False, id_str=b''):
|
|
pass # pragma: no cover
|
|
|
|
@abstractmethod
|
|
def close(self):
|
|
pass # pragma: no cover
|