* helper to set or detect IP to use in the tests
* uses IP of the first interface with sip_ext type detected
* bin/network_config.pl: set dummy1 too
* config.yml:
subscribers will use dummy1: 10.20.29.2/30
peers will use dummy0: 172.30.1.2/30
* pyproject.toml: black settings
Change-Id: Ibe59cde090b22e7631b87ffdecc706f3de391078
Debian package 'python-xmlrunner' is based on old
unittest-xml-reporting (1.5.0-1) and generated report *.xml file is not
recognized by jenkins jUnit plugin:
[xUnit] [ERROR] - The result file
'/var/lib/jenkins/workspace/kamailio-config-tests-unit-test-docker/results/test_check.xml'
for the metric 'JUnit' is not valid. The result file has been skipped.
So let's install the newest version from pip in docker the same like in Makefile
Change-Id: I7f4272d04bdec5ed1112bb25e751a1c4df95359b
tests made in 'docker run' create files with 'root' owner and ws-cleanup
plugin can't delete them after. Fixing umask here to allow files
deletion.
Change-Id: I3512fe413d8b46f9704dfd3dd143e43d42167d01
* migrate to Docker
* tests/test_check.py: use junitxml
* bin/generate_tests.sh: support DEST_DIR
will use DEST_DIR as base dir destination
* rename scenarios_disabled -> disabled
* fix \t at XXXX_test.yml.tt2 templates
Change-Id: I845588ee4692f157f370a000abab75a05e701839