ssl_s1: <ssl.SSLSocket fd=3, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=6, laddr=('127.0.0.1', 43664), raddr=('127.0.0.1', 5003)>
sending: CMD_short:0
User 1 received: This is PMU data 0
User 1 received: This is PMU data 1
User 1 received: This is PMU data 2
User 1 received: This is PMU data 3
User 1 received: This is PMU data 4
User 1 received:
User 1 received:
User 1 received:
User 1 received:
</em>
In this test, we start the PMU server with:
python3 <scrip> <certificate> <key>
Then, we launch a client that connects on localhost, ipv4, port
5003, requires authentication and then sends 'CMD_short:0'
We expect the server to answer with at least 'This is PMU data 0'
----------------------------------------------------------------------
Traceback (most recent call last):
File "autotest.py", line 120, in test_pmu_answer_to_pdc
self.assertTrue(self.checkPdcLogContent(),"\n\nThe PCD did not receive the string: %s!" % self.EXPECTED_RESULT)
AssertionError: False is not true :
The PCD did not receive the string: This is PMU data!
----------------------------------------------------------------------
Ran 3 tests in 11.065s