diff options
author | Ricardo Martincoski <ricardo.martincoski@gmail.com> | 2018-11-10 00:16:07 -0200 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@bootlin.com> | 2018-11-13 20:55:45 +0100 |
commit | ac4a0529681707a6c1ad19d7cc4b2e24d5d921ad (patch) | |
tree | d2e5a8833e711fa0a929c00e1ef920cf6114df33 /support/testing/tests/package/sample_python_txaio_asyncio.py | |
parent | 0f98e58caccef50612df83604397b3537af57526 (diff) | |
download | buildroot-ac4a0529681707a6c1ad19d7cc4b2e24d5d921ad.tar.gz buildroot-ac4a0529681707a6c1ad19d7cc4b2e24d5d921ad.zip |
support/testing: use TestPythonPackageBase for python-txaio
Move the test scripts to be run on the target from inline in the test
case to 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>
Diffstat (limited to 'support/testing/tests/package/sample_python_txaio_asyncio.py')
-rw-r--r-- | support/testing/tests/package/sample_python_txaio_asyncio.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/support/testing/tests/package/sample_python_txaio_asyncio.py b/support/testing/tests/package/sample_python_txaio_asyncio.py new file mode 100644 index 0000000000..77f11ed807 --- /dev/null +++ b/support/testing/tests/package/sample_python_txaio_asyncio.py @@ -0,0 +1,3 @@ +import txaio +txaio.use_asyncio() +f0 = txaio.create_future() |