We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4a4ed4c commit dea646dCopy full SHA for dea646d
tests/protocols_tests.py
@@ -97,14 +97,15 @@ def test_server_start_stop(self):
97
except Exception as error:
98
print 'ERROR test_server_start_stop: ', error
99
100
- def test_init(self):
+ def test_init_client(self):
101
102
- # TODO: add _stop_server
103
client = EnipProtocol(
104
protocol=TestEnipProtocol.CLIENT_PROTOCOL)
105
eq_(client._name, 'enip')
106
del client
107
+ def test_init_server(self):
108
+
109
server = EnipProtocol(
110
protocol=TestEnipProtocol.CLIENT_SERVER_PROTOCOL)
111
eq_(server._name, 'enip')
0 commit comments