~jaypipes/glance/bug759018

« back to all changes in this revision

Viewing changes to bin/glance

  • Committer: Tarmac
  • Author(s): jaypipes at gmail
  • Date: 2011-03-23 16:39:11 UTC
  • mfrom: (90.2.9 bug736295)
  • Revision ID: tarmac-20110323163911-jag7sppwd4obup3b
Adds robust functional testing to Glance.

Show diffs side-by-side

added added

removed removed

Lines of Context:
270
270
 
271
271
    # Have to handle "boolean" values specially...
272
272
    if 'is_public' in fields:
273
 
        image_meta['is_public'] = utils.int_from_bool_as_string(
 
273
        image_meta['is_public'] = utils.bool_from_string(
274
274
            fields.pop('is_public'))
275
275
 
276
276
    # Add custom attributes, which are all the arguments remaining