~ubuntu-branches/ubuntu/utopic/heat/utopic-proposed

« back to all changes in this revision

Viewing changes to heat/tests/test_parameters.py

  • Committer: Package Import Robot
  • Author(s): Chuck Short
  • Date: 2015-02-09 15:12:41 UTC
  • mto: This revision was merged to the branch mainline in revision 39.
  • Revision ID: package-import@ubuntu.com-20150209151241-z22lwlorlbd40l2k
Tags: upstream-2014.2.2
ImportĀ upstreamĀ versionĀ 2014.2.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
251
251
        self.assertIn('wibble', six.text_type(err))
252
252
 
253
253
    def test_list_value_list_default_empty(self):
254
 
        schema = {'Type': 'CommaDelimitedList'}
255
 
        schema['Default'] = ''
 
254
        schema = {'Type': 'CommaDelimitedList', 'Default': ''}
256
255
        p = self.new_parameter('p', schema)
257
 
        self.assertEqual([''], p.value())
 
256
        self.assertEqual([], p.value())
258
257
 
259
258
    def test_list_value_list_good(self):
260
259
        schema = {'Type': 'CommaDelimitedList',