[svn-commits] pabelanger: testsuite/asterisk/trunk r909 - in /asterisk/trunk: ./ configs/ c...
SVN commits to the Digium repositories
svn-commits at lists.digium.com
Mon Nov 22 15:39:46 CST 2010
Author: pabelanger
Date: Mon Nov 22 15:39:41 2010
New Revision: 909
URL: http://svnview.digium.com/svn/testsuite?view=rev&rev=909
Log:
Create global configuration files for the testsuite.
Testsuite configuration is now controlled by config files located in the
configs/ directory. For example: asterisk.options.conf.inc contains variables
which will now be included in asterisk.conf [options]. These include debug,
verbose and nocolor.
More information is located in the README.txt
Added:
asterisk/trunk/configs/
- copied from r908, asterisk/team/pabelanger/configs/configs/
asterisk/trunk/configs/asterisk.options.conf.inc
- copied unchanged from r908, asterisk/team/pabelanger/configs/configs/asterisk.options.conf.inc
asterisk/trunk/configs/branch-1.4/
- copied from r908, asterisk/team/pabelanger/configs/configs/branch-1.4/
asterisk/trunk/configs/branch-1.4/logger.conf
- copied unchanged from r908, asterisk/team/pabelanger/configs/configs/branch-1.4/logger.conf
asterisk/trunk/configs/branch-1.6.2/
- copied from r908, asterisk/team/pabelanger/configs/configs/branch-1.6.2/
asterisk/trunk/configs/branch-1.6.2/logger.conf
- copied unchanged from r908, asterisk/team/pabelanger/configs/configs/branch-1.6.2/logger.conf
asterisk/trunk/configs/logger.conf
- copied unchanged from r908, asterisk/team/pabelanger/configs/configs/logger.conf
asterisk/trunk/configs/logger.general.conf.inc
- copied unchanged from r908, asterisk/team/pabelanger/configs/configs/logger.general.conf.inc
asterisk/trunk/configs/logger.logfiles.conf.inc
- copied unchanged from r908, asterisk/team/pabelanger/configs/configs/logger.logfiles.conf.inc
Removed:
asterisk/trunk/tests/configs/
Modified:
asterisk/trunk/README.txt
asterisk/trunk/lib/python/asterisk/asterisk.py
asterisk/trunk/tests/blind-transfer-parkingtimeout/run-test
asterisk/trunk/tests/callparking/run-test
asterisk/trunk/tests/directed_pickup/run-test
asterisk/trunk/tests/fastagi/channel-status/run-test
asterisk/trunk/tests/fastagi/connect/run-test
asterisk/trunk/tests/fastagi/control-stream-file/run-test
asterisk/trunk/tests/fastagi/database/run-test
asterisk/trunk/tests/fastagi/execute/run-test
asterisk/trunk/tests/fastagi/get-data/run-test
asterisk/trunk/tests/fastagi/hangup/run-test
asterisk/trunk/tests/fastagi/record-file/run-test
asterisk/trunk/tests/fastagi/say-alpha/run-test
asterisk/trunk/tests/fastagi/say-date/run-test
asterisk/trunk/tests/fastagi/say-datetime/run-test
asterisk/trunk/tests/fastagi/say-digits/run-test
asterisk/trunk/tests/fastagi/say-number/run-test
asterisk/trunk/tests/fastagi/say-phonetic/run-test
asterisk/trunk/tests/fastagi/say-time/run-test
asterisk/trunk/tests/fastagi/stream-file/run-test
asterisk/trunk/tests/fastagi/wait-for-digit/run-test
asterisk/trunk/tests/feature_attended_transfer/run-test
asterisk/trunk/tests/feature_blonde_transfer/run-test
asterisk/trunk/tests/iax2/basic-call/run-test
asterisk/trunk/tests/manager/login/run-test
asterisk/trunk/tests/mixmonitor/run-test
asterisk/trunk/tests/mixmonitor_audiohook_inherit/run-test
asterisk/trunk/tests/one-step-parking/run-test
Modified: asterisk/trunk/README.txt
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/README.txt?view=diff&rev=909&r1=908&r2=909
==============================================================================
--- asterisk/trunk/README.txt (original)
+++ asterisk/trunk/README.txt Mon Nov 22 15:39:41 2010
@@ -187,12 +187,26 @@
-> run-test
-> test-config.yaml
...
-
- Finally, to have a test included in the test suite, it must be added to
-the "tests.yaml" file that lives in the tests directory. This configuration
-file determines the order that the tests are considered for execution by the top
+ /configs
+ -> asterisk.options.conf.inc
+ -> logger.conf
+ -> logger.general.conf.inc
+ ...
+
+ To have a test included in the test suite, it must be added to the
+"tests.yaml" file that lives in the tests directory. This configuration file
+determines the order that the tests are considered for execution by the top
level test suite application.
+ The purpose of the 'configs' directory is to define global settings for
+Asterisk. Tests will inherit these settings every time the testsuite creates
+sandbox instances of Asterisk. Additionally, tests have the ability to override
+these setting, however it is NOT recommended they do so. If you wanted to add a
+setting to logger.conf [logfiles], you could create a 'logger.logfiles.conf.inc'
+file for your test and the global Asterisk logger.conf will automatically
+include it. The filename convention is <asterisk module>.<category>.conf.inc.
+Again, settings in 'asterisk.options.conf.inc' would be included in
+asterisk.conf [options] category.
b) Preconditions
Modified: asterisk/trunk/lib/python/asterisk/asterisk.py
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/lib/python/asterisk/asterisk.py?view=diff&rev=909&r1=908&r2=909
==============================================================================
--- asterisk/trunk/lib/python/asterisk/asterisk.py (original)
+++ asterisk/trunk/lib/python/asterisk/asterisk.py Mon Nov 22 15:39:41 2010
@@ -100,7 +100,7 @@
for (var, val) in dir_cat.options:
self.__mirror_dir(var, val)
- self.install_configs(os.getcwd() + "/tests/configs")
+ self.install_configs(os.getcwd() + "/configs")
def start(self):
"""Start this instance of Asterisk.
@@ -349,17 +349,17 @@
return
for c in ast_conf.categories:
- f.write("[%s]\n\n" % c.name)
+ f.write("[%s]\n" % c.name)
if c.name == "directories":
for (var, val) in c.options:
self.directories[var] = val
f.write("%s = %s%s\n" % (var, self.base, val))
elif c.name == "options":
+ f.write("#include \"%s/asterisk.options.conf.inc\"\n" %
+ (self.astetcdir))
if ast_conf_options:
for (var, val) in ast_conf_options.iteritems():
f.write("%s = %s\n" % (var, val))
- if not ast_conf_options or "nocolor" not in ast_conf_options:
- f.write("nocolor = yes\n")
for (var, val) in c.options:
if not ast_conf_options or var not in ast_conf_options:
f.write("%s = %s\n" % (var, val))
Modified: asterisk/trunk/tests/blind-transfer-parkingtimeout/run-test
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/blind-transfer-parkingtimeout/run-test?view=diff&rev=909&r1=908&r2=909
==============================================================================
--- asterisk/trunk/tests/blind-transfer-parkingtimeout/run-test (original)
+++ asterisk/trunk/tests/blind-transfer-parkingtimeout/run-test Mon Nov 22 15:39:41 2010
@@ -90,9 +90,6 @@
# 3. A gets parkingtimeout and returns to B
# 4. B reports results to FastAGI and hangup
def launch_test(self):
- self.asterisk2.cli_exec("core set verbose 10")
- self.asterisk1.cli_exec("core set verbose 10")
-
self.log_last_step("Originating call to begin test")
self.asterisk1.cli_originate(
"IAX2/userA at 127.0.0.1:4571/b_exten extension a_dials at parking")
Modified: asterisk/trunk/tests/callparking/run-test
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/callparking/run-test?view=diff&rev=909&r1=908&r2=909
==============================================================================
--- asterisk/trunk/tests/callparking/run-test (original)
+++ asterisk/trunk/tests/callparking/run-test Mon Nov 22 15:39:41 2010
@@ -138,10 +138,6 @@
# 6. userC dials 702 and retrieves userB
def launch_test(self):
- self.asterisk1.cli_exec("core set verbose 10")
- self.asterisk2.cli_exec("core set verbose 10")
- self.asterisk3.cli_exec("core set verbose 10")
-
self.log_last_step("Originating call to begin test")
self.asterisk1.cli_originate(
"IAX2/userA at 127.0.0.1:4571/b_exten extension bridge_to_A at parking")
Modified: asterisk/trunk/tests/directed_pickup/run-test
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/directed_pickup/run-test?view=diff&rev=909&r1=908&r2=909
==============================================================================
--- asterisk/trunk/tests/directed_pickup/run-test (original)
+++ asterisk/trunk/tests/directed_pickup/run-test Mon Nov 22 15:39:41 2010
@@ -118,7 +118,6 @@
def launch_test1(self):
self.log_last_step("Starting Test 1")
- self.asterisk1.cli_exec("core set verbose 10")
if self.ast_version < AsteriskVersion("1.6.2"):
self.asterisk1.cli_exec("originate IAX2/iax_pickup_b at 127.0.0.1/waiting_exten extension 1001 at pickuptest")
else:
@@ -137,7 +136,6 @@
self.test2 = SKIP
reactor.callLater(2, self.shut_down)
else:
- self.asterisk1.cli_exec("core set verbose 10")
self.asterisk1.cli_exec("channel originate IAX2/iax_pickup_b at 127.0.0.1/waiting_exten extension 1001 at pickuptest")
reactor.callLater(2, self.test2_pickup)
Modified: asterisk/trunk/tests/fastagi/channel-status/run-test
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/fastagi/channel-status/run-test?view=diff&rev=909&r1=908&r2=909
==============================================================================
--- asterisk/trunk/tests/fastagi/channel-status/run-test (original)
+++ asterisk/trunk/tests/fastagi/channel-status/run-test Mon Nov 22 15:39:41 2010
@@ -103,7 +103,6 @@
reactor.stop()
def launch_test(self):
- self.asterisk.cli_exec("core set verbose 10")
self.asterisk.cli_exec("agi set debug on")
# Set blocking=False so that we can test channel
Modified: asterisk/trunk/tests/fastagi/connect/run-test
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/fastagi/connect/run-test?view=diff&rev=909&r1=908&r2=909
==============================================================================
--- asterisk/trunk/tests/fastagi/connect/run-test (original)
+++ asterisk/trunk/tests/fastagi/connect/run-test Mon Nov 22 15:39:41 2010
@@ -69,8 +69,6 @@
reactor.stop()
def launch_test(self):
- self.asterisk.cli_exec("core set verbose 10")
-
print "Originating call to begin test."
self.asterisk.cli_originate(
"Local/basic_agi at agitest extension echo at agitest"
Modified: asterisk/trunk/tests/fastagi/control-stream-file/run-test
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/fastagi/control-stream-file/run-test?view=diff&rev=909&r1=908&r2=909
==============================================================================
--- asterisk/trunk/tests/fastagi/control-stream-file/run-test (original)
+++ asterisk/trunk/tests/fastagi/control-stream-file/run-test Mon Nov 22 15:39:41 2010
@@ -81,7 +81,6 @@
reactor.stop()
def launch_test(self):
- self.asterisk.cli_exec("core set verbose 10")
self.asterisk.cli_exec("agi set debug on")
print "Originating call to begin test."
Modified: asterisk/trunk/tests/fastagi/database/run-test
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/fastagi/database/run-test?view=diff&rev=909&r1=908&r2=909
==============================================================================
--- asterisk/trunk/tests/fastagi/database/run-test (original)
+++ asterisk/trunk/tests/fastagi/database/run-test Mon Nov 22 15:39:41 2010
@@ -184,7 +184,6 @@
reactor.stop()
def launch_test(self):
- self.asterisk.cli_exec("core set verbose 10")
self.asterisk.cli_exec("agi set debug on")
print "Originating call to begin test."
Modified: asterisk/trunk/tests/fastagi/execute/run-test
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/fastagi/execute/run-test?view=diff&rev=909&r1=908&r2=909
==============================================================================
--- asterisk/trunk/tests/fastagi/execute/run-test (original)
+++ asterisk/trunk/tests/fastagi/execute/run-test Mon Nov 22 15:39:41 2010
@@ -170,7 +170,6 @@
reactor.stop()
def launch_test(self):
- self.asterisk.cli_exec("core set verbose 10")
self.asterisk.cli_exec("agi set debug on")
print "Originating call to begin test."
self.asterisk.cli_originate(
Modified: asterisk/trunk/tests/fastagi/get-data/run-test
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/fastagi/get-data/run-test?view=diff&rev=909&r1=908&r2=909
==============================================================================
--- asterisk/trunk/tests/fastagi/get-data/run-test (original)
+++ asterisk/trunk/tests/fastagi/get-data/run-test Mon Nov 22 15:39:41 2010
@@ -89,7 +89,6 @@
reactor.stop()
def launch_test(self):
- self.asterisk.cli_exec("core set verbose 10")
self.asterisk.cli_exec("agi set debug on")
print "Originating call to begin test."
Modified: asterisk/trunk/tests/fastagi/hangup/run-test
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/fastagi/hangup/run-test?view=diff&rev=909&r1=908&r2=909
==============================================================================
--- asterisk/trunk/tests/fastagi/hangup/run-test (original)
+++ asterisk/trunk/tests/fastagi/hangup/run-test Mon Nov 22 15:39:41 2010
@@ -108,7 +108,6 @@
reactor.stop()
def launch_test(self):
- self.asterisk.cli_exec("core set verbose 10")
self.asterisk.cli_exec("agi set debug on")
print "Originating call to begin test."
Modified: asterisk/trunk/tests/fastagi/record-file/run-test
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/fastagi/record-file/run-test?view=diff&rev=909&r1=908&r2=909
==============================================================================
--- asterisk/trunk/tests/fastagi/record-file/run-test (original)
+++ asterisk/trunk/tests/fastagi/record-file/run-test Mon Nov 22 15:39:41 2010
@@ -128,7 +128,6 @@
reactor.stop()
def launch_test(self):
- self.asterisk.cli_exec("core set verbose 10")
self.asterisk.cli_exec("agi set debug on")
print "Originating call to begin test which terminates recording",\
"with", self.test
Modified: asterisk/trunk/tests/fastagi/say-alpha/run-test
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/fastagi/say-alpha/run-test?view=diff&rev=909&r1=908&r2=909
==============================================================================
--- asterisk/trunk/tests/fastagi/say-alpha/run-test (original)
+++ asterisk/trunk/tests/fastagi/say-alpha/run-test Mon Nov 22 15:39:41 2010
@@ -91,7 +91,6 @@
reactor.stop()
def launch_test(self):
- self.asterisk.cli_exec("core set verbose 10")
self.asterisk.cli_exec("agi set debug on")
print "Originating call to begin test."
Modified: asterisk/trunk/tests/fastagi/say-date/run-test
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/fastagi/say-date/run-test?view=diff&rev=909&r1=908&r2=909
==============================================================================
--- asterisk/trunk/tests/fastagi/say-date/run-test (original)
+++ asterisk/trunk/tests/fastagi/say-date/run-test Mon Nov 22 15:39:41 2010
@@ -92,7 +92,6 @@
reactor.stop()
def launch_test(self):
- self.asterisk.cli_exec("core set verbose 10")
self.asterisk.cli_exec("agi set debug on")
print "Originating call to begin test."
Modified: asterisk/trunk/tests/fastagi/say-datetime/run-test
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/fastagi/say-datetime/run-test?view=diff&rev=909&r1=908&r2=909
==============================================================================
--- asterisk/trunk/tests/fastagi/say-datetime/run-test (original)
+++ asterisk/trunk/tests/fastagi/say-datetime/run-test Mon Nov 22 15:39:41 2010
@@ -91,7 +91,6 @@
reactor.stop()
def launch_test(self):
- self.asterisk.cli_exec("core set verbose 10")
self.asterisk.cli_exec("agi set debug on")
print "Originating call to begin test."
Modified: asterisk/trunk/tests/fastagi/say-digits/run-test
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/fastagi/say-digits/run-test?view=diff&rev=909&r1=908&r2=909
==============================================================================
--- asterisk/trunk/tests/fastagi/say-digits/run-test (original)
+++ asterisk/trunk/tests/fastagi/say-digits/run-test Mon Nov 22 15:39:41 2010
@@ -91,7 +91,6 @@
reactor.stop()
def launch_test(self):
- self.asterisk.cli_exec("core set verbose 10")
self.asterisk.cli_exec("agi set debug on")
print "Originating call to begin test."
Modified: asterisk/trunk/tests/fastagi/say-number/run-test
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/fastagi/say-number/run-test?view=diff&rev=909&r1=908&r2=909
==============================================================================
--- asterisk/trunk/tests/fastagi/say-number/run-test (original)
+++ asterisk/trunk/tests/fastagi/say-number/run-test Mon Nov 22 15:39:41 2010
@@ -91,7 +91,6 @@
reactor.stop()
def launch_test(self):
- self.asterisk.cli_exec("core set verbose 10")
self.asterisk.cli_exec("agi set debug on")
print "Originating call to begin test."
Modified: asterisk/trunk/tests/fastagi/say-phonetic/run-test
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/fastagi/say-phonetic/run-test?view=diff&rev=909&r1=908&r2=909
==============================================================================
--- asterisk/trunk/tests/fastagi/say-phonetic/run-test (original)
+++ asterisk/trunk/tests/fastagi/say-phonetic/run-test Mon Nov 22 15:39:41 2010
@@ -91,7 +91,6 @@
reactor.stop()
def launch_test(self):
- self.asterisk.cli_exec("core set verbose 10")
self.asterisk.cli_exec("agi set debug on")
print "Originating call to begin test."
Modified: asterisk/trunk/tests/fastagi/say-time/run-test
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/fastagi/say-time/run-test?view=diff&rev=909&r1=908&r2=909
==============================================================================
--- asterisk/trunk/tests/fastagi/say-time/run-test (original)
+++ asterisk/trunk/tests/fastagi/say-time/run-test Mon Nov 22 15:39:41 2010
@@ -92,7 +92,6 @@
reactor.stop()
def launch_test(self):
- self.asterisk.cli_exec("core set verbose 10")
self.asterisk.cli_exec("agi set debug on")
print "Originating call to begin test."
Modified: asterisk/trunk/tests/fastagi/stream-file/run-test
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/fastagi/stream-file/run-test?view=diff&rev=909&r1=908&r2=909
==============================================================================
--- asterisk/trunk/tests/fastagi/stream-file/run-test (original)
+++ asterisk/trunk/tests/fastagi/stream-file/run-test Mon Nov 22 15:39:41 2010
@@ -79,7 +79,6 @@
reactor.stop()
def launch_test(self):
- self.asterisk.cli_exec("core set verbose 10")
self.asterisk.cli_exec("agi set debug on")
print "Originating call to begin test."
Modified: asterisk/trunk/tests/fastagi/wait-for-digit/run-test
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/fastagi/wait-for-digit/run-test?view=diff&rev=909&r1=908&r2=909
==============================================================================
--- asterisk/trunk/tests/fastagi/wait-for-digit/run-test (original)
+++ asterisk/trunk/tests/fastagi/wait-for-digit/run-test Mon Nov 22 15:39:41 2010
@@ -85,7 +85,6 @@
reactor.stop()
def launch_test(self):
- self.asterisk.cli_exec("core set verbose 10")
self.asterisk.cli_exec("agi set debug on")
print "Originating call to begin test."
Modified: asterisk/trunk/tests/feature_attended_transfer/run-test
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/feature_attended_transfer/run-test?view=diff&rev=909&r1=908&r2=909
==============================================================================
--- asterisk/trunk/tests/feature_attended_transfer/run-test (original)
+++ asterisk/trunk/tests/feature_attended_transfer/run-test Mon Nov 22 15:39:41 2010
@@ -132,16 +132,12 @@
# 7. Audio and DTMF is passed and detected on each side of the call verifying the connection.
# 8. A and C report results to FastAGI and hangup.
def launch_test(self):
- self.asterisk2.cli_exec("core set verbose 10")
- self.asterisk1.cli_exec("core set verbose 10")
-
if self.ast_version < AsteriskVersion("1.6.1"):
self.asterisk1.cli_exec("core set global TALK_AUDIO " + self.talkingaudio)
self.asterisk2.cli_exec("core set global TALK_AUDIO " + self.talkingaudio)
else:
self.asterisk1.cli_exec("dialplan set global TALK_AUDIO " + self.talkingaudio)
self.asterisk2.cli_exec("dialplan set global TALK_AUDIO " + self.talkingaudio)
-
self.log_last_step("Originating call to begin test 1")
if self.ast_version < AsteriskVersion("1.6.2"):
Modified: asterisk/trunk/tests/feature_blonde_transfer/run-test
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/feature_blonde_transfer/run-test?view=diff&rev=909&r1=908&r2=909
==============================================================================
--- asterisk/trunk/tests/feature_blonde_transfer/run-test (original)
+++ asterisk/trunk/tests/feature_blonde_transfer/run-test Mon Nov 22 15:39:41 2010
@@ -113,9 +113,6 @@
# 6. A and C report results to FastAGI and hangup.
def launch_test(self):
- self.asterisk2.cli_exec("core set verbose 10")
- self.asterisk1.cli_exec("core set verbose 10")
-
if self.ast_version < AsteriskVersion("1.6.1"):
self.asterisk1.cli_exec("core set global TALK_AUDIO " + self.talkingaudio)
self.asterisk2.cli_exec("core set global TALK_AUDIO " + self.talkingaudio)
Modified: asterisk/trunk/tests/iax2/basic-call/run-test
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/iax2/basic-call/run-test?view=diff&rev=909&r1=908&r2=909
==============================================================================
--- asterisk/trunk/tests/iax2/basic-call/run-test (original)
+++ asterisk/trunk/tests/iax2/basic-call/run-test Mon Nov 22 15:39:41 2010
@@ -85,9 +85,6 @@
def run(self):
self.start_asterisk()
- self.asterisk.cli_exec("core set verbose 10")
- self.asterisk2.cli_exec("core set verbose 10")
-
if self.ast_version < AsteriskVersion("1.6.0"):
self.asterisk.cli_exec("iax2 set debug")
self.asterisk2.cli_exec("iax2 set debug")
Modified: asterisk/trunk/tests/manager/login/run-test
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/manager/login/run-test?view=diff&rev=909&r1=908&r2=909
==============================================================================
--- asterisk/trunk/tests/manager/login/run-test (original)
+++ asterisk/trunk/tests/manager/login/run-test Mon Nov 22 15:39:41 2010
@@ -28,12 +28,7 @@
reactor.callWhenRunning(self.run)
print "Creating Asterisk instance ..."
- ast_conf_options = {
- "verbose" : "10",
- "debug" : "3"
- }
- self.asterisk = Asterisk(base="/tmp/asterisk-testsuite/manager/login",
- ast_conf_options=ast_conf_options)
+ self.asterisk = Asterisk(base="/tmp/asterisk-testsuite/manager/login")
self.asterisk.install_configs("tests/manager/login/configs")
def stop_reactor(self):
Modified: asterisk/trunk/tests/mixmonitor/run-test
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/mixmonitor/run-test?view=diff&rev=909&r1=908&r2=909
==============================================================================
--- asterisk/trunk/tests/mixmonitor/run-test (original)
+++ asterisk/trunk/tests/mixmonitor/run-test Mon Nov 22 15:39:41 2010
@@ -94,9 +94,6 @@
self.log_last_step("Starting Asterisk")
self.asterisk.start()
- self.asterisk.cli_exec("core set verbose 10")
- self.asterisk.cli_exec("core set debug 3")
-
if self.ast_version < AsteriskVersion("1.6.1"):
self.asterisk.cli_exec("core set global TESTAUDIO1 " + self.audiofile1)
self.asterisk.cli_exec("core set global TESTAUDIO2 " + self.audiofile2)
Modified: asterisk/trunk/tests/mixmonitor_audiohook_inherit/run-test
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/mixmonitor_audiohook_inherit/run-test?view=diff&rev=909&r1=908&r2=909
==============================================================================
--- asterisk/trunk/tests/mixmonitor_audiohook_inherit/run-test (original)
+++ asterisk/trunk/tests/mixmonitor_audiohook_inherit/run-test Mon Nov 22 15:39:41 2010
@@ -69,8 +69,6 @@
self.log_last_step("Starting Asterisk")
self.asterisk.start()
- self.asterisk.cli_exec("core set verbose 10")
-
if self.ast_version < AsteriskVersion("1.6.1"):
self.asterisk.cli_exec("core set global TESTAUDIO1 " + self.audiofile1)
self.asterisk.cli_exec("core set global TALK_AUDIO " + self.talkingaudio)
Modified: asterisk/trunk/tests/one-step-parking/run-test
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/one-step-parking/run-test?view=diff&rev=909&r1=908&r2=909
==============================================================================
--- asterisk/trunk/tests/one-step-parking/run-test (original)
+++ asterisk/trunk/tests/one-step-parking/run-test Mon Nov 22 15:39:41 2010
@@ -103,9 +103,6 @@
# 3. A gets parked
# 4. B calls 701 and retrieves A
def launch_test(self):
- self.asterisk2.cli_exec("core set verbose 10")
- self.asterisk1.cli_exec("core set verbose 10")
-
self.log_last_step("Originating call to begin test")
self.asterisk1.cli_originate(
"IAX2/userA at 127.0.0.1:4571/b_exten extension a_dials at parking")
More information about the svn-commits
mailing list