support/testing: use TestPythonPackageBase for python-twisted
authorRicardo Martincoski <ricardo.martincoski@gmail.com>
Sat, 10 Nov 2018 02:16:06 +0000 (00:16 -0200)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Tue, 13 Nov 2018 19:55:45 +0000 (20:55 +0100)
commit0f98e58caccef50612df83604397b3537af57526
tree455e6816e454dd4f84670a1c35030c880397469c
parentee6b37cf87da13429ac222b5cb6c2a3429062593
support/testing: use TestPythonPackageBase for python-twisted

Move the test script to be run on the target from inline in the test
case to a separate file.

Get the base defconfig fragment from the immediate parent class and not
directly from TestPythonBase because it is the correct way of doing
this. This way the base class TestPythonTwisted could even be placed in
a separate file.

Signed-off-by: Ricardo Martincoski <ricardo.martincoski@gmail.com>
Cc: Arnout Vandecappelle <arnout@mind.be>
Cc: Asaf Kahlon <asafka7@gmail.com>
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Cc: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
support/testing/tests/package/sample_python_twisted.py [new file with mode: 0644]
support/testing/tests/package/test_python_twisted.py