Skip to content

Commit

Permalink
add test for list processing
Browse files Browse the repository at this point in the history
  • Loading branch information
troyready committed Aug 23, 2016
1 parent 90e6c3b commit afb3944
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions stacker/tests/actions/test_build.py
Original file line number Diff line number Diff line change
Expand Up @@ -277,6 +277,15 @@ def test_resolve_parameters_none_conversion(self):
p = resolve_parameters(params, self.bp, self.ctx, self.prov)
self.assertNotIn("a", p)

def test_resolve_parameters_list_processing(self):
self.bp.parameters = {
"a": {
"type": "List",
"description": "A"}}
params = {"a": "Apple,Anchor"}
p = resolve_parameters(params, self.bp, self.ctx, self.prov)
self.assertEqual(p["a"], "Apple,Anchor")

def test_resolve_parameters_resolve_outputs(self):
self.bp.parameters = {
"a": {
Expand Down

0 comments on commit afb3944

Please sign in to comment.