~jcsackett/charmworld/bac-tag-constraints

« back to all changes in this revision

Viewing changes to charmworld/tests/test_search.py

[r=adeuring,abentley][bug=1204985][author=adeuring] do not try to use non-existent value charm['store_data']['address'] in templates; property Charm.address added.

Show diffs side-by-side

added added

removed removed

Lines of Context:
197
197
        fields = [field.split('.')[0] for field in fields]
198
198
        charm = factory.get_charm_json(categories=['unknown'])
199
199
        # Ensure all fields have unique values.
 
200
        charm['address'] = 'cs:bogus-address'
200
201
        charm['owner'] = 'steve'
201
202
        charm['series'] = 'grumpy'
202
203
        charm['name'] = 'arthur'