[asterisk-commits] mjordan: testsuite/asterisk/trunk r3836 - in /asterisk/trunk: lib/python/aste...

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Tue Jun 11 11:52:22 CDT 2013


Author: mjordan
Date: Tue Jun 11 11:52:20 2013
New Revision: 3836

URL: http://svnview.digium.com/svn/testsuite?view=rev&rev=3836
Log:
Update Dial tests to run under Asterisk 11

The dial tests have been updated to run under Asterisk 11 by setting
version specifiers on the Asterisk 12 AMI module checks. Basic AMI
triggers were added for 11 such that the tests will run; however,
pass/fail status is relegated to success/failure of the SIPp scenarios.

Modified:
    asterisk/trunk/lib/python/asterisk/TestRunner.py
    asterisk/trunk/tests/apps/dial/dial_answer/test-config.yaml
    asterisk/trunk/tests/apps/dial/dial_busy/test-config.yaml
    asterisk/trunk/tests/apps/dial/dial_congestion/test-config.yaml
    asterisk/trunk/tests/apps/dial/dial_dtmf_hangup_cancel/test-config.yaml
    asterisk/trunk/tests/apps/dial/dial_hangup/test-config.yaml
    asterisk/trunk/tests/apps/dial/dial_no_answer/test-config.yaml
    asterisk/trunk/tests/apps/dial/dial_parallel/dial_parallel_all_busy/test-config.yaml
    asterisk/trunk/tests/apps/dial/dial_parallel/dial_parallel_all_cancel/test-config.yaml
    asterisk/trunk/tests/apps/dial/dial_parallel/dial_parallel_all_congestion/test-config.yaml
    asterisk/trunk/tests/apps/dial/dial_parallel/dial_parallel_all_no_answer/test-config.yaml
    asterisk/trunk/tests/apps/dial/dial_parallel/dial_parallel_all_unavail/test-config.yaml
    asterisk/trunk/tests/apps/dial/dial_parallel/dial_parallel_answer_cancel/test-config.yaml
    asterisk/trunk/tests/apps/dial/dial_parallel/dial_parallel_single_busy/test-config.yaml
    asterisk/trunk/tests/apps/dial/dial_parallel/dial_parallel_single_congestion/test-config.yaml
    asterisk/trunk/tests/apps/dial/dial_parallel/dial_parallel_single_no_answer/test-config.yaml
    asterisk/trunk/tests/apps/dial/dial_parallel/dial_parallel_single_unavail/test-config.yaml
    asterisk/trunk/tests/apps/dial/dial_timeout/test-config.yaml
    asterisk/trunk/tests/apps/dial/dial_unavail/test-config.yaml

Modified: asterisk/trunk/lib/python/asterisk/TestRunner.py
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/lib/python/asterisk/TestRunner.py?view=diff&rev=3836&r1=3835&r2=3836
==============================================================================
--- asterisk/trunk/lib/python/asterisk/TestRunner.py (original)
+++ asterisk/trunk/lib/python/asterisk/TestRunner.py Tue Jun 11 11:52:20 2013
@@ -139,7 +139,7 @@
         AsteriskVersion(ast_version) < AsteriskVersion(modminversion):
         return False
     if modmaxversion is not None and \
-        AsteriskVersion(ast_version) > AsteriskVersion(modmaxversion):
+        AsteriskVersion(ast_version) >= AsteriskVersion(modmaxversion):
         return False
 
     return True

Modified: asterisk/trunk/tests/apps/dial/dial_answer/test-config.yaml
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/apps/dial/dial_answer/test-config.yaml?view=diff&rev=3836&r1=3835&r2=3836
==============================================================================
--- asterisk/trunk/tests/apps/dial/dial_answer/test-config.yaml (original)
+++ asterisk/trunk/tests/apps/dial/dial_answer/test-config.yaml Tue Jun 11 11:52:20 2013
@@ -4,7 +4,7 @@
         'Dial an endpoint and make sure it Answers'
 
 properties:
-    minversion: '12.0.0'
+    minversion: '11.0.0'
     dependencies:
         - python : 'twisted'
         - python : 'starpy'
@@ -18,13 +18,14 @@
         typename: 'sipp.SIPpTestCase'
     modules:
         -
-            config-section: ami-config
+            minversion: '12.0.0'
+            config-section: ami-config-12
             typename: 'ami.AMIEventModule'
         -
             config-section: originator-config
             typename: 'PluggableModules.Originator'
 
-ami-config:
+ami-config-12:
     -
         type: 'headermatch'
         conditions:

Modified: asterisk/trunk/tests/apps/dial/dial_busy/test-config.yaml
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/apps/dial/dial_busy/test-config.yaml?view=diff&rev=3836&r1=3835&r2=3836
==============================================================================
--- asterisk/trunk/tests/apps/dial/dial_busy/test-config.yaml (original)
+++ asterisk/trunk/tests/apps/dial/dial_busy/test-config.yaml Tue Jun 11 11:52:20 2013
@@ -4,7 +4,7 @@
         'Dial an endpoint and get a response code that maps to a Busy status'
 
 properties:
-    minversion: '12.0.0'
+    minversion: '11.0.0'
     dependencies:
         - python : 'twisted'
         - python : 'starpy'
@@ -18,13 +18,14 @@
         typename: 'sipp.SIPpTestCase'
     modules:
         -
-            config-section: ami-config
+            minversion: '12.0.0'
+            config-section: ami-config-12
             typename: 'ami.AMIEventModule'
         -
             config-section: originator-config
             typename: 'PluggableModules.Originator'
 
-ami-config:
+ami-config-12:
     -
         type: 'headermatch'
         conditions:

Modified: asterisk/trunk/tests/apps/dial/dial_congestion/test-config.yaml
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/apps/dial/dial_congestion/test-config.yaml?view=diff&rev=3836&r1=3835&r2=3836
==============================================================================
--- asterisk/trunk/tests/apps/dial/dial_congestion/test-config.yaml (original)
+++ asterisk/trunk/tests/apps/dial/dial_congestion/test-config.yaml Tue Jun 11 11:52:20 2013
@@ -4,7 +4,7 @@
         'Dial an endpoint and get a response code that maps to a Congestion status'
 
 properties:
-    minversion: '12.0.0'
+    minversion: '11.0.0'
     dependencies:
         - python : 'twisted'
         - python : 'starpy'
@@ -18,13 +18,14 @@
         typename: 'sipp.SIPpTestCase'
     modules:
         -
-            config-section: ami-config
+            minversion: '12.0.0'
+            config-section: ami-config-12
             typename: 'ami.AMIEventModule'
         -
             config-section: originator-config
             typename: 'PluggableModules.Originator'
 
-ami-config:
+ami-config-12:
     -
         type: 'headermatch'
         conditions:

Modified: asterisk/trunk/tests/apps/dial/dial_dtmf_hangup_cancel/test-config.yaml
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/apps/dial/dial_dtmf_hangup_cancel/test-config.yaml?view=diff&rev=3836&r1=3835&r2=3836
==============================================================================
--- asterisk/trunk/tests/apps/dial/dial_dtmf_hangup_cancel/test-config.yaml (original)
+++ asterisk/trunk/tests/apps/dial/dial_dtmf_hangup_cancel/test-config.yaml Tue Jun 11 11:52:20 2013
@@ -5,7 +5,7 @@
         up the caller. Verify that the dial is cancelled.'
 
 properties:
-    minversion: '12.0.0'
+    minversion: '11.0.0'
     dependencies:
         - python : 'twisted'
         - python : 'starpy'
@@ -21,13 +21,29 @@
         typename: 'sipp.SIPpTestCase'
     modules:
         -
-            config-section: ami-config
+            minversion: '11.0.0'
+            maxversion: '12.0.0'
+            config-section: ami-config-11
+            typename: 'ami.AMIEventModule'
+        -
+            minversion: '12.0.0'
+            config-section: ami-config-12
             typename: 'ami.AMIEventModule'
         -
             config-section: originator-config
             typename: 'PluggableModules.Originator'
 
-ami-config:
+ami-config-11:
+    -
+        type: 'callback'
+        conditions:
+            match:
+                Event: 'Dial'
+                SubEvent: 'Begin'
+        callbackModule: 'send_dtmf'
+        callbackMethod: 'send_dtmf'
+
+ami-config-12:
     -
         type: 'headermatch'
         conditions:

Modified: asterisk/trunk/tests/apps/dial/dial_hangup/test-config.yaml
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/apps/dial/dial_hangup/test-config.yaml?view=diff&rev=3836&r1=3835&r2=3836
==============================================================================
--- asterisk/trunk/tests/apps/dial/dial_hangup/test-config.yaml (original)
+++ asterisk/trunk/tests/apps/dial/dial_hangup/test-config.yaml Tue Jun 11 11:52:20 2013
@@ -5,7 +5,7 @@
         up the caller. Verify that the dial is cancelled.'
 
 properties:
-    minversion: '12.0.0'
+    minversion: '11.0.0'
     dependencies:
         - python : 'twisted'
         - python : 'starpy'
@@ -21,13 +21,30 @@
         typename: 'sipp.SIPpTestCase'
     modules:
         -
-            config-section: ami-config
+            minversion: '11.0.0'
+            maxversion: '12.0.0'
+            config-section: ami-config-11
+            typename: 'ami.AMIEventModule'
+        -
+            minversion: '12.0.0'
+            config-section: ami-config-12
             typename: 'ami.AMIEventModule'
         -
             config-section: originator-config
             typename: 'PluggableModules.Originator'
 
-ami-config:
+ami-config-11:
+    -
+        type: 'callback'
+        conditions:
+            match:
+                Event: 'Dial'
+                SubEvent: 'Begin'
+                Destination: 'SIP/charlie-.*'
+        callbackModule: 'hangup'
+        callbackMethod: 'send_hangup'
+
+ami-config-12:
     -
         type: 'headermatch'
         conditions:

Modified: asterisk/trunk/tests/apps/dial/dial_no_answer/test-config.yaml
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/apps/dial/dial_no_answer/test-config.yaml?view=diff&rev=3836&r1=3835&r2=3836
==============================================================================
--- asterisk/trunk/tests/apps/dial/dial_no_answer/test-config.yaml (original)
+++ asterisk/trunk/tests/apps/dial/dial_no_answer/test-config.yaml Tue Jun 11 11:52:20 2013
@@ -4,7 +4,7 @@
         'Dial an endpoint and get a response code that maps to a No Answer status'
 
 properties:
-    minversion: '12.0.0'
+    minversion: '11.0.0'
     dependencies:
         - python : 'twisted'
         - python : 'starpy'
@@ -18,13 +18,14 @@
         typename: 'sipp.SIPpTestCase'
     modules:
         -
-            config-section: ami-config
+            minversion: '12.0.0'
+            config-section: ami-config-12
             typename: 'ami.AMIEventModule'
         -
             config-section: originator-config
             typename: 'PluggableModules.Originator'
 
-ami-config:
+ami-config-12:
     -
         type: 'headermatch'
         conditions:

Modified: asterisk/trunk/tests/apps/dial/dial_parallel/dial_parallel_all_busy/test-config.yaml
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/apps/dial/dial_parallel/dial_parallel_all_busy/test-config.yaml?view=diff&rev=3836&r1=3835&r2=3836
==============================================================================
--- asterisk/trunk/tests/apps/dial/dial_parallel/dial_parallel_all_busy/test-config.yaml (original)
+++ asterisk/trunk/tests/apps/dial/dial_parallel/dial_parallel_all_busy/test-config.yaml Tue Jun 11 11:52:20 2013
@@ -4,7 +4,7 @@
         'Dial two endpoints. Both reply that they are busy.'
 
 properties:
-    minversion: '12.0.0'
+    minversion: '11.0.0'
     dependencies:
         - python : 'twisted'
         - python : 'starpy'
@@ -18,13 +18,14 @@
         typename: 'sipp.SIPpTestCase'
     modules:
         -
-            config-section: ami-config
+            minversion: '12.0.0'
+            config-section: ami-config-12
             typename: 'ami.AMIEventModule'
         -
             config-section: originator-config
             typename: 'PluggableModules.Originator'
 
-ami-config:
+ami-config-12:
     -
         type: 'headermatch'
         conditions:

Modified: asterisk/trunk/tests/apps/dial/dial_parallel/dial_parallel_all_cancel/test-config.yaml
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/apps/dial/dial_parallel/dial_parallel_all_cancel/test-config.yaml?view=diff&rev=3836&r1=3835&r2=3836
==============================================================================
--- asterisk/trunk/tests/apps/dial/dial_parallel/dial_parallel_all_cancel/test-config.yaml (original)
+++ asterisk/trunk/tests/apps/dial/dial_parallel/dial_parallel_all_cancel/test-config.yaml Tue Jun 11 11:52:20 2013
@@ -5,7 +5,7 @@
         Verify that all dial operations are cancelled.'
 
 properties:
-    minversion: '12.0.0'
+    minversion: '11.0.0'
     dependencies:
         - python : 'twisted'
         - python : 'starpy'
@@ -21,13 +21,30 @@
         typename: 'sipp.SIPpTestCase'
     modules:
         -
-            config-section: ami-config
+            minversion: '11.0.0'
+            maxversion: '12.0.0'
+            config-section: ami-config-11
+            typename: 'ami.AMIEventModule'
+        -
+            minversion: '12.0.0'
+            config-section: ami-config-12
             typename: 'ami.AMIEventModule'
         -
             config-section: originator-config
             typename: 'PluggableModules.Originator'
 
-ami-config:
+ami-config-11:
+    -
+        type: 'callback'
+        conditions:
+            match:
+                Event: 'Dial'
+                SubEvent: 'Begin'
+                Destination: 'SIP/bob-.*'
+        callbackModule: 'send_dtmf'
+        callbackMethod: 'send_dtmf'
+
+ami-config-12:
     -
         type: 'headermatch'
         conditions:

Modified: asterisk/trunk/tests/apps/dial/dial_parallel/dial_parallel_all_congestion/test-config.yaml
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/apps/dial/dial_parallel/dial_parallel_all_congestion/test-config.yaml?view=diff&rev=3836&r1=3835&r2=3836
==============================================================================
--- asterisk/trunk/tests/apps/dial/dial_parallel/dial_parallel_all_congestion/test-config.yaml (original)
+++ asterisk/trunk/tests/apps/dial/dial_parallel/dial_parallel_all_congestion/test-config.yaml Tue Jun 11 11:52:20 2013
@@ -4,7 +4,7 @@
         'Dial two endpoints, both of whom happen to be congested.'
 
 properties:
-    minversion: '12.0.0'
+    minversion: '11.0.0'
     dependencies:
         - python : 'twisted'
         - python : 'starpy'
@@ -18,13 +18,14 @@
         typename: 'sipp.SIPpTestCase'
     modules:
         -
-            config-section: ami-config
+            minversion: '12.0.0'
+            config-section: ami-config-12
             typename: 'ami.AMIEventModule'
         -
             config-section: originator-config
             typename: 'PluggableModules.Originator'
 
-ami-config:
+ami-config-12:
     -
         type: 'headermatch'
         conditions:

Modified: asterisk/trunk/tests/apps/dial/dial_parallel/dial_parallel_all_no_answer/test-config.yaml
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/apps/dial/dial_parallel/dial_parallel_all_no_answer/test-config.yaml?view=diff&rev=3836&r1=3835&r2=3836
==============================================================================
--- asterisk/trunk/tests/apps/dial/dial_parallel/dial_parallel_all_no_answer/test-config.yaml (original)
+++ asterisk/trunk/tests/apps/dial/dial_parallel/dial_parallel_all_no_answer/test-config.yaml Tue Jun 11 11:52:20 2013
@@ -4,7 +4,7 @@
         'Dial two endpoints, both of whom fail to answer.'
 
 properties:
-    minversion: '12.0.0'
+    minversion: '11.0.0'
     dependencies:
         - python : 'twisted'
         - python : 'starpy'
@@ -18,13 +18,14 @@
         typename: 'sipp.SIPpTestCase'
     modules:
         -
-            config-section: ami-config
+            minversion: '12.0.0'
+            config-section: ami-config-12
             typename: 'ami.AMIEventModule'
         -
             config-section: originator-config
             typename: 'PluggableModules.Originator'
 
-ami-config:
+ami-config-12:
     -
         type: 'headermatch'
         conditions:

Modified: asterisk/trunk/tests/apps/dial/dial_parallel/dial_parallel_all_unavail/test-config.yaml
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/apps/dial/dial_parallel/dial_parallel_all_unavail/test-config.yaml?view=diff&rev=3836&r1=3835&r2=3836
==============================================================================
--- asterisk/trunk/tests/apps/dial/dial_parallel/dial_parallel_all_unavail/test-config.yaml (original)
+++ asterisk/trunk/tests/apps/dial/dial_parallel/dial_parallel_all_unavail/test-config.yaml Tue Jun 11 11:52:20 2013
@@ -4,7 +4,7 @@
         'Dial two endpoints, both of whom happen to be unavailable.'
 
 properties:
-    minversion: '12.0.0'
+    minversion: '11.0.0'
     dependencies:
         - python : 'twisted'
         - python : 'starpy'
@@ -18,13 +18,14 @@
         typename: 'sipp.SIPpTestCase'
     modules:
         -
-            config-section: ami-config
+            minversion: '12.0.0'
+            config-section: ami-config-12
             typename: 'ami.AMIEventModule'
         -
             config-section: originator-config
             typename: 'PluggableModules.Originator'
 
-ami-config:
+ami-config-12:
     -
         type: 'headermatch'
         conditions:

Modified: asterisk/trunk/tests/apps/dial/dial_parallel/dial_parallel_answer_cancel/test-config.yaml
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/apps/dial/dial_parallel/dial_parallel_answer_cancel/test-config.yaml?view=diff&rev=3836&r1=3835&r2=3836
==============================================================================
--- asterisk/trunk/tests/apps/dial/dial_parallel/dial_parallel_answer_cancel/test-config.yaml (original)
+++ asterisk/trunk/tests/apps/dial/dial_parallel/dial_parallel_answer_cancel/test-config.yaml Tue Jun 11 11:52:20 2013
@@ -5,7 +5,7 @@
         Verify that Asterisk cancels the other Dial request.'
 
 properties:
-    minversion: '12.0.0'
+    minversion: '11.0.0'
     dependencies:
         - python : 'twisted'
         - python : 'starpy'
@@ -19,13 +19,14 @@
         typename: 'sipp.SIPpTestCase'
     modules:
         -
-            config-section: ami-config
+            minversion: '12.0.0'
+            config-section: ami-config-12
             typename: 'ami.AMIEventModule'
         -
             config-section: originator-config
             typename: 'PluggableModules.Originator'
 
-ami-config:
+ami-config-12:
     -
         type: 'headermatch'
         conditions:

Modified: asterisk/trunk/tests/apps/dial/dial_parallel/dial_parallel_single_busy/test-config.yaml
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/apps/dial/dial_parallel/dial_parallel_single_busy/test-config.yaml?view=diff&rev=3836&r1=3835&r2=3836
==============================================================================
--- asterisk/trunk/tests/apps/dial/dial_parallel/dial_parallel_single_busy/test-config.yaml (original)
+++ asterisk/trunk/tests/apps/dial/dial_parallel/dial_parallel_single_busy/test-config.yaml Tue Jun 11 11:52:20 2013
@@ -4,7 +4,7 @@
         'Dial two endpoints. One replies back as Busy, the other Answers.'
 
 properties:
-    minversion: '12.0.0'
+    minversion: '11.0.0'
     dependencies:
         - python : 'twisted'
         - python : 'starpy'
@@ -18,13 +18,14 @@
         typename: 'sipp.SIPpTestCase'
     modules:
         -
+            minversion: '12.0.0'
             config-section: ami-config
             typename: 'ami.AMIEventModule'
         -
             config-section: originator-config
             typename: 'PluggableModules.Originator'
 
-ami-config:
+ami-config-12:
     -
         type: 'headermatch'
         conditions:

Modified: asterisk/trunk/tests/apps/dial/dial_parallel/dial_parallel_single_congestion/test-config.yaml
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/apps/dial/dial_parallel/dial_parallel_single_congestion/test-config.yaml?view=diff&rev=3836&r1=3835&r2=3836
==============================================================================
--- asterisk/trunk/tests/apps/dial/dial_parallel/dial_parallel_single_congestion/test-config.yaml (original)
+++ asterisk/trunk/tests/apps/dial/dial_parallel/dial_parallel_single_congestion/test-config.yaml Tue Jun 11 11:52:20 2013
@@ -4,7 +4,7 @@
         'Dial two endpoints. One replies back as Congested, the other Answers.'
 
 properties:
-    minversion: '12.0.0'
+    minversion: '11.0.0'
     dependencies:
         - python : 'twisted'
         - python : 'starpy'
@@ -18,13 +18,14 @@
         typename: 'sipp.SIPpTestCase'
     modules:
         -
-            config-section: ami-config
+            minversion: '12.0.0'
+            config-section: ami-config-12
             typename: 'ami.AMIEventModule'
         -
             config-section: originator-config
             typename: 'PluggableModules.Originator'
 
-ami-config:
+ami-config-12:
     -
         type: 'headermatch'
         conditions:

Modified: asterisk/trunk/tests/apps/dial/dial_parallel/dial_parallel_single_no_answer/test-config.yaml
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/apps/dial/dial_parallel/dial_parallel_single_no_answer/test-config.yaml?view=diff&rev=3836&r1=3835&r2=3836
==============================================================================
--- asterisk/trunk/tests/apps/dial/dial_parallel/dial_parallel_single_no_answer/test-config.yaml (original)
+++ asterisk/trunk/tests/apps/dial/dial_parallel/dial_parallel_single_no_answer/test-config.yaml Tue Jun 11 11:52:20 2013
@@ -4,7 +4,7 @@
         'Dial two endpoints. One replies back with a No Answer, the other Answers.'
 
 properties:
-    minversion: '12.0.0'
+    minversion: '11.0.0'
     dependencies:
         - python : 'twisted'
         - python : 'starpy'
@@ -18,13 +18,14 @@
         typename: 'sipp.SIPpTestCase'
     modules:
         -
-            config-section: ami-config
+            minversion: '12.0.0'
+            config-section: ami-config-12
             typename: 'ami.AMIEventModule'
         -
             config-section: originator-config
             typename: 'PluggableModules.Originator'
 
-ami-config:
+ami-config-12:
     -
         type: 'headermatch'
         conditions:

Modified: asterisk/trunk/tests/apps/dial/dial_parallel/dial_parallel_single_unavail/test-config.yaml
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/apps/dial/dial_parallel/dial_parallel_single_unavail/test-config.yaml?view=diff&rev=3836&r1=3835&r2=3836
==============================================================================
--- asterisk/trunk/tests/apps/dial/dial_parallel/dial_parallel_single_unavail/test-config.yaml (original)
+++ asterisk/trunk/tests/apps/dial/dial_parallel/dial_parallel_single_unavail/test-config.yaml Tue Jun 11 11:52:20 2013
@@ -4,7 +4,7 @@
         'Dial two endpoints. One replies back as Unavailable, the other Answers.'
 
 properties:
-    minversion: '12.0.0'
+    minversion: '11.0.0'
     dependencies:
         - python : 'twisted'
         - python : 'starpy'
@@ -18,13 +18,14 @@
         typename: 'sipp.SIPpTestCase'
     modules:
         -
-            config-section: ami-config
+            minversion: '12.0.0'
+            config-section: ami-config-12
             typename: 'ami.AMIEventModule'
         -
             config-section: originator-config
             typename: 'PluggableModules.Originator'
 
-ami-config:
+ami-config-12:
     -
         type: 'headermatch'
         conditions:

Modified: asterisk/trunk/tests/apps/dial/dial_timeout/test-config.yaml
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/apps/dial/dial_timeout/test-config.yaml?view=diff&rev=3836&r1=3835&r2=3836
==============================================================================
--- asterisk/trunk/tests/apps/dial/dial_timeout/test-config.yaml (original)
+++ asterisk/trunk/tests/apps/dial/dial_timeout/test-config.yaml Tue Jun 11 11:52:20 2013
@@ -5,7 +5,7 @@
         dial operation'
 
 properties:
-    minversion: '12.0.0'
+    minversion: '11.0.0'
     dependencies:
         - python : 'twisted'
         - python : 'starpy'
@@ -20,13 +20,14 @@
         typename: 'sipp.SIPpTestCase'
     modules:
         -
-            config-section: ami-config
+            minversion: '12.0.0'
+            config-section: ami-config-12
             typename: 'ami.AMIEventModule'
         -
             config-section: originator-config
             typename: 'PluggableModules.Originator'
 
-ami-config:
+ami-config-12:
     -
         type: 'headermatch'
         conditions:

Modified: asterisk/trunk/tests/apps/dial/dial_unavail/test-config.yaml
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/apps/dial/dial_unavail/test-config.yaml?view=diff&rev=3836&r1=3835&r2=3836
==============================================================================
--- asterisk/trunk/tests/apps/dial/dial_unavail/test-config.yaml (original)
+++ asterisk/trunk/tests/apps/dial/dial_unavail/test-config.yaml Tue Jun 11 11:52:20 2013
@@ -4,7 +4,7 @@
         'Dial an endpoint and get a response code that maps to an Unavailable status'
 
 properties:
-    minversion: '12.0.0'
+    minversion: '11.0.0'
     dependencies:
         - python : 'twisted'
         - python : 'starpy'
@@ -18,13 +18,14 @@
         typename: 'sipp.SIPpTestCase'
     modules:
         -
-            config-section: ami-config
+            minversion: '12.0.0'
+            config-section: ami-config-12
             typename: 'ami.AMIEventModule'
         -
             config-section: originator-config
             typename: 'PluggableModules.Originator'
 
-ami-config:
+ami-config-12:
     -
         type: 'headermatch'
         conditions:




More information about the asterisk-commits mailing list