[asterisk-users] How tu run runtests.py on Debian Stretch ?
George Joseph
gjoseph at digium.com
Tue Oct 31 06:18:36 CDT 2017
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>
More information about the asterisk-users
mailing list