[asterisk-commits] mnick: testsuite/asterisk/trunk r762 - /asterisk/trunk/tests/blind-transfer-p...

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Wed Aug 18 11:29:42 CDT 2010


Author: mnick
Date: Wed Aug 18 11:29:39 2010
New Revision: 762

URL: http://svnview.digium.com/svn/testsuite?view=rev&rev=762
Log:
simplified the code by removing finish_agi(). Instead I use agi.finish()

Modified:
    asterisk/trunk/tests/blind-transfer-parkingtimeout/run-test

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=762&r1=761&r2=762
==============================================================================
--- asterisk/trunk/tests/blind-transfer-parkingtimeout/run-test (original)
+++ asterisk/trunk/tests/blind-transfer-parkingtimeout/run-test Wed Aug 18 11:29:39 2010
@@ -58,13 +58,7 @@
         self.log_last_step("got AGI connection from userB -> test successful")
         self.passed = True
         reactor.callLater(2, self.read_result)
-        return self.finish_agi(agi)
-
-   # Finish the AGI connection
-    def finish_agi(self, agi):
-        sequence = fastagi.InSequence()
-        sequence.append(agi.finish)
-        return sequence()
+        return agi.finish()
 
     def read_result(self):
         if self.done:




More information about the asterisk-commits mailing list