python/coverage: update to 7.6.5
[oi-userland.git] / components / python / PyNUTClient / python-integrate-project.conf
blobd3a2aace819b4e6f8a14c25a2e371ee6a3e70ab9
2 # This file and its contents are supplied under the terms of the
3 # Common Development and Distribution License ("CDDL"), version 1.0.
4 # You may only use this file in accordance with the terms of version
5 # 1.0 of the CDDL.
7 # A full copy of the text of the CDDL should have accompanied this
8 # source.  A copy of the CDDL is also available via the Internet at
9 # http://www.illumos.org/license/CDDL.
13 # Copyright 2023 Marcel Telka
16 %patch% 01-tox.ini.patch
18 %include-3%
20 # To run tests you need:
22 # 1) to have this in /etc/nut/ups.conf (see PyNUTClient/test_nutclient.py):
24 #       [dummy]
25 #               driver = dummy-ups
26 #               desc = "Test device"
27 #               port = /usr/share/nut/etc-samples/evolution500.seq.dummy-ups.sample
29 # 2) the svc:/system/power/nut-server:default service running:
31 #       svcadm enable svc:/system/power/nut-server:default
33 # 3) start dummy-ups:
35 #       /usr/lib/nut/bin/dummy-ups -a dummy
37 # Remove colors from test output
38 COMPONENT_TEST_TRANSFORMS += "-e 's/\x1b\[[0-9;]*m//g'"
40 # Needed for:
41 #       /etc/nut/ups.conf
42 #       svc:/system/power/nut-server:default
43 TEST_REQUIRED_PACKAGES += system/management/nut/server
45 # Needed for:
46 #       /usr/lib/nut/bin/dummy-ups
47 #       /usr/share/nut/etc-samples/evolution500.seq.dummy-ups.sample
48 TEST_REQUIRED_PACKAGES += system/management/nut/drivers/software