[asterisk-commits] mjordan: branch mjordan/noversioncheck r3199 - in /asterisk/team/mjordan/nove...
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Thu Apr 19 15:02:08 CDT 2012
Author: mjordan
Date: Thu Apr 19 15:02:05 2012
New Revision: 3199
URL: http://svnview.digium.com/svn/testsuite?view=rev&rev=3199
Log:
Remove even more version checks
They're everywhere...
Modified:
asterisk/team/mjordan/noversioncheck/lib/python/asterisk/TestCase.py
asterisk/team/mjordan/noversioncheck/lib/python/asterisk/TestConfig.py
asterisk/team/mjordan/noversioncheck/tests/cdr/console_dial_sip_answer/run-test
Modified: asterisk/team/mjordan/noversioncheck/lib/python/asterisk/TestCase.py
URL: http://svnview.digium.com/svn/testsuite/asterisk/team/mjordan/noversioncheck/lib/python/asterisk/TestCase.py?view=diff&rev=3199&r1=3198&r2=3199
==============================================================================
--- asterisk/team/mjordan/noversioncheck/lib/python/asterisk/TestCase.py (original)
+++ asterisk/team/mjordan/noversioncheck/lib/python/asterisk/TestCase.py Thu Apr 19 15:02:05 2012
@@ -63,7 +63,7 @@
self.pcapfilename = None
self.__stopping = False
self.testlogdir = os.path.join(Asterisk.test_suite_root, self.base, str(os.getpid()))
- self.ast_version = AsteriskVersion()
+ # self.ast_version = AsteriskVersion()
os.makedirs(self.testlogdir)
Modified: asterisk/team/mjordan/noversioncheck/lib/python/asterisk/TestConfig.py
URL: http://svnview.digium.com/svn/testsuite/asterisk/team/mjordan/noversioncheck/lib/python/asterisk/TestConfig.py?view=diff&rev=3199&r1=3198&r2=3199
==============================================================================
--- asterisk/team/mjordan/noversioncheck/lib/python/asterisk/TestConfig.py (original)
+++ asterisk/team/mjordan/noversioncheck/lib/python/asterisk/TestConfig.py Thu Apr 19 15:02:05 2012
@@ -293,26 +293,26 @@
self.description = testinfo["description"]
def __process_properties(self):
- self.minversion = AsteriskVersion("1.4")
+ #self.minversion = AsteriskVersion("1.4")
if self.config == None:
return
if "properties" not in self.config:
return
properties = self.config["properties"]
- if "minversion" in properties:
- try:
- self.minversion = AsteriskVersion(properties["minversion"])
- except:
- self.can_run = False
- print "ERROR: '%s' is not a valid minversion" % \
- properties["minversion"]
- if "maxversion" in properties:
- try:
- self.maxversion = AsteriskVersion(properties["maxversion"])
- except:
- self.can_run = False
- print "ERROR: '%s' is not a valid maxversion" % \
- properties["maxversion"]
+# if "minversion" in properties:
+# try:
+# self.minversion = AsteriskVersion(properties["minversion"])
+# except:
+# self.can_run = False
+# print "ERROR: '%s' is not a valid minversion" % \
+# properties["minversion"]
+# if "maxversion" in properties:
+# try:
+# self.maxversion = AsteriskVersion(properties["maxversion"])
+# except:
+# self.can_run = False
+# print "ERROR: '%s' is not a valid maxversion" % \
+# properties["maxversion"]
if "expectedResult" in properties:
try:
self.expectPass = not (properties["expectedResult"].upper().strip() == "FAIL")
Modified: asterisk/team/mjordan/noversioncheck/tests/cdr/console_dial_sip_answer/run-test
URL: http://svnview.digium.com/svn/testsuite/asterisk/team/mjordan/noversioncheck/tests/cdr/console_dial_sip_answer/run-test?view=diff&rev=3199&r1=3198&r2=3199
==============================================================================
--- asterisk/team/mjordan/noversioncheck/tests/cdr/console_dial_sip_answer/run-test (original)
+++ asterisk/team/mjordan/noversioncheck/tests/cdr/console_dial_sip_answer/run-test Thu Apr 19 15:02:05 2012
@@ -26,8 +26,8 @@
disposition="ANSWERED",
amaflags="DOCUMENTATION"))
- if self.ast_version < AsteriskVersion("1.8"):
- cdr2channel = "Local/2 at test-.*"
+ #if self.ast_version < AsteriskVersion("1.8"):
+ # cdr2channel = "Local/2 at test-.*"
self.add_expectation('cdrtest_sip', AsteriskCSVCDRLine(
destination="2",
More information about the asterisk-commits
mailing list