[Asterisk-code-review] tests/rest api/asterisk/config/dynamic: Add a test for push ... (testsuite[master])

Matt Jordan asteriskteam at digium.com
Tue Jul 14 22:27:41 CDT 2015


Matt Jordan has uploaded a new patch set (#2).

Change subject: tests/rest_api/asterisk/config/dynamic: Add a test for push config creation
......................................................................

tests/rest_api/asterisk/config/dynamic: Add a test for push config creation

This patch adds a test that covers push creation of a dynamic, aka,
'sorcery', configuration object. The test covers both off-nominal and
nominal scenarios, including:
 - Off-nominal requests with bad path parameters
 - Off-nominal requests with an invalid body
 - Off-nominal requests that attempt to create a dynamic object
   that is not supported by the machine configuration
 - Nominal creation of an object

ASTERISK-25238

Change-Id: I728ea8b73d52ee766afde343228c17b57e2c527c
---
A tests/rest_api/asterisk/config/dynamic/create/configs/ast1/sorcery.conf
A tests/rest_api/asterisk/config/dynamic/create/test-config.yaml
A tests/rest_api/asterisk/config/dynamic/tests.yaml
A tests/rest_api/asterisk/config/tests.yaml
M tests/rest_api/asterisk/tests.yaml
M tests/rest_api/tests.yaml
6 files changed, 101 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.asterisk.org:29418/testsuite refs/changes/43/843/2
-- 
To view, visit https://gerrit.asterisk.org/843
To unsubscribe, visit https://gerrit.asterisk.org/settings

Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I728ea8b73d52ee766afde343228c17b57e2c527c
Gerrit-PatchSet: 2
Gerrit-Project: testsuite
Gerrit-Branch: master
Gerrit-Owner: Matt Jordan <mjordan at digium.com>



More information about the asterisk-code-review mailing list