python3-pika: Enable tests

Inherit ptest-python-pytest and include tests for Pika. Run the
tests that don't require the docker container with RabbitMQ. The
PyPI package omits some files for testing like tests/__init__.py
use the GitHub source for SRC_URI instead.

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
This commit is contained in:
Leon Anavi authored and Khem Raj committed 2026-08-04 10:47:40 -07:00
1 parent 356b5ef588
commit 0135c3278f
2 files changed
+26 -6

No files matched your search

@@ -0,0 +1,3 @@
#!/bin/sh
pytest --automake tests/unit/ tests/misc/ tests/stubs/