[asterisk-dev] [Code Review] 3287: testsuite: improve yaml exception handling

Scott Griepentrog reviewboard at asterisk.org
Thu Mar 6 09:13:28 CST 2014


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviewboard.asterisk.org/r/3287/
-----------------------------------------------------------

(Updated March 6, 2014, 9:13 a.m.)


Review request for Asterisk Developers.


Changes
-------

Updated except to newer format


Repository: testsuite


Description
-------

This patch adds improved 

Changes:

Exception occurred while parsing config: <class 'yaml.parser.ParserError'>

To:

YAML error: while parsing a block mapping
  in "tests/rest_api/recording/basic/test-config.yaml", line 2, column 1
expected <block end>, but found '<block sequence start>'
  in "tests/rest_api/recording/basic/test-config.yaml", line 71, column 9


Diffs (updated)
-----

  /asterisk/trunk/lib/python/asterisk/test_config.py 4765 

Diff: https://reviewboard.asterisk.org/r/3287/diff/


Testing
-------


Thanks,

Scott Griepentrog

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20140306/1ed9289f/attachment-0001.html>


More information about the asterisk-dev mailing list