support/testing: add python-twisted tests
authorRicardo Martincoski <ricardo.martincoski@gmail.com>
Wed, 26 Sep 2018 02:55:14 +0000 (23:55 -0300)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Thu, 11 Oct 2018 15:28:06 +0000 (17:28 +0200)
commit10095908701ce291578f4b1c9359ba6f8b381449
tree99ac181d8a26908146dca6b63f60d1e38b69c82b
parent35bcb54e1d571967df3e3c1d7c11cb2a480aaafb
support/testing: add python-twisted tests

Use a minimal script to listen to a port and check using netstat.

Signed-off-by: Ricardo Martincoski <ricardo.martincoski@gmail.com>
Cc: Asaf Kahlon <asafka7@gmail.com>
Cc: Yegor Yefremov <yegorslists@googlemail.com>
Reviewed-by: Yegor Yefremov <yegorslists@googlemail.com>
[Thomas: increase the delay after starting the Twisted server, as 5
seconds was not enough for Python 3.x configurations.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
.gitlab-ci.yml
support/testing/tests/package/test_python_twisted.py [new file with mode: 0644]