~bcsaller/charmworld/peer-support

« back to all changes in this revision

Viewing changes to charmworld/testing/factory.py

  • Committer: Tarmac
  • Author(s): Aaron Bentley
  • Date: 2013-09-03 17:22:52 UTC
  • mfrom: (374.1.2 use-latest-charm)
  • Revision ID: tarmac-20130903172252-bjr3si0bfjr78vls
[r=sinzui][bug=1219061,1219062,1219064][author=abentley] Ensure latest version of charm is shown.

Show diffs side-by-side

added added

removed removed

Lines of Context:
146
146
 
147
147
def add_store_data(charm, promulgated=False, charm_error=False, revision=1):
148
148
    address = get_address(charm, promulgated)
149
 
    charm["store_url"] = make_store_url(1, address)
 
149
    charm["store_url"] = make_store_url(revision, address)
150
150
    store_data = {
151
151
        "store_checked": "Thu Dec  6 17:42:05 2012"
152
152
    }