File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11# -*- coding: utf-8 -*-
22
33import time
4+ from typing import ClassVar
45from unittest import TestCase , main
56
67from cvp .modbus .client import ModbusTcpClient
910
1011
1112class TestFunctionCodes (TestCase ):
13+ datastore : ClassVar [ModbusDataStore ]
14+ server : ClassVar [ModbusTcpServer ]
15+
1216 @classmethod
1317 def setUpClass (cls ) -> None :
1418 cls .datastore = ModbusDataStore ()
Original file line number Diff line number Diff line change 11# -*- coding: utf-8 -*-
22
33import time
4+ from typing import ClassVar
45from unittest import TestCase , main
56
67from cvp .modbus .client import ModbusTcpClient
910
1011
1112class TestServerClientIntegration (TestCase ):
13+ datastore : ClassVar [ModbusDataStore ]
14+ server : ClassVar [ModbusTcpServer ]
15+
1216 @classmethod
1317 def setUpClass (cls ) -> None :
1418 cls .datastore = ModbusDataStore ()
You can’t perform that action at this time.
0 commit comments