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 <module> 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20171031/6e6a2177/attachment.html>
Tzafrir Cohen
2017-Oct-31 11:14 UTC
[asterisk-users] How tu run runtests.py on Debian Stretch ?
On Tue, Oct 31, 2017 at 12:07:57PM +0100, Olivier wrote:> 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 <module> > 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 ?asterisk-tests-run That said, that package needs more work. -- Tzafrir Cohen +972-50-7952406 mailto:tzafrir.cohen at xorcom.com http://www.xorcom.com
George Joseph
2017-Oct-31 11:18 UTC
[asterisk-users] How tu run runtests.py on Debian Stretch ?
On Tue, Oct 31, 2017 at 5:07 AM, Olivier <oza.4h07 at gmail.com> wrote:> 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 <module> > from asterisk.version import AsteriskVersion > ImportError: No module named asterisk.version >What version of python are you using? Try PYTHONPATH=./lib/python ./runtests.py and see if that makes a difference> > 1. Which documentation shall I look for ? > I've found [1] >That and https://wiki.asterisk.org/wiki/display/AST/Installing+the+Asterisk+Test+Suite> > > 2. How shall I run runtests.py ? As asterisk user ? As root ? >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.> > > Best > > > [1] https://wiki.asterisk.org/wiki/display/AST/Running+the+ > Asterisk+Test+Suite > > -- > _____________________________________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > > Check out the new Asterisk community forum at: https://community.asterisk. > org/ > > New to Asterisk? Start here: > https://wiki.asterisk.org/wiki/display/AST/Getting+Started > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >-- George Joseph Digium, Inc. | Software Developer 445 Jan Davis Drive NW - Huntsville, AL 35806 - US Check us out at: www.digium.com & www.asterisk.org -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20171031/ae8e6d23/attachment.html>