How Tu Run Runtests.py On Debian Stretch ?
Hello,
I’m giving asterisk-testsuite package a try on a fresh Debian Stretch setup.
I’ve got this:
# /usr/share/asterisk-testsuite/runtests.py Traceback (most recent call last):
File “/usr/share/asterisk-testsuite/runtests.py”, line 24, in
from asterisk.version import AsteriskVersion ImportError: No module named asterisk.version
1. Which documentation shall I look for ?
I’ve found [1]
2. How shall I run runtests.py ? As asterisk user ? As root ?
Best
[1]
https://wiki.asterisk.org/wiki/display/AST/Running+the+Asterisk+Test+Suite
2 thoughts on - How Tu Run Runtests.py On Debian Stretch ?
asterisk-tests-run
That said, that package needs more work.
What version of python are you using?
Try PYTHONPATH=./lib/python ./runtests.py and see if that makes a difference
That and https://wiki.asterisk.org/wiki/display/AST/Installing+the+Asterisk+Test+Suite
Most tests can be run as a normal user. A few that use the pcap library need root. They should be ones that require yappcap.