1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
|
python-stomp testing
--------------------
Upstream tests do not support use of mocking, instead a custom Docker
image needs to be created via the upstream Makefile. However, the
Docker image itself relies on external URLs which are subject to
change without notice. It is therfore impractical to automate the
upstream package tests, even if a custom Docker image was to be
used. I have so far been unable to replicate sufficient support
outside Docker - patches welcome.
Furthermore, the upstream Makefile relies on poetry which currently
fails in Debian due to #1003108
Tests can be done with a docker image, modified to use Debian unstable
alongside changes for an updated artemis tarball, using pytest-3 directly.
Currently, some upstream tests must be skipped:
pytest-3 -v tests/ -k "not test_send_to_artemis and not test_prefetchsize and not test_ipv6_send and not test_windows_colours and not test_heartbeatlistener and not test_should_send_extra_header_clientnack and not test_suppress_content_length and not TestSNIMQSend"
-- Neil Williams <codehelp@debian.org> Thu, 12 May 2022 14:10:52 +0100
|