~niemeyer/juju-core/old-state

« back to all changes in this revision

Viewing changes to worker/uniter/charm/charm_test.go

  • Committer: Roger Peppe
  • Date: 2012-09-12 22:31:00 UTC
  • mfrom: (495.1.7 058-testing-charm-series)
  • mto: This revision was merged to the branch mainline in revision 497.
  • Revision ID: roger.peppe@canonical.com-20120912223100-pfefmcwktzgqgwja
mergeĀ 058-testing-charm-series

Show diffs side-by-side

added added

removed removed

Lines of Context:
51
51
        curl := corecharm.MustParseURL("cs:series/dummy-1")
52
52
        surl, err := url.Parse(s.URL("/some/charm.bundle"))
53
53
        c.Assert(err, IsNil)
54
 
        bunpath := coretesting.Charms.BundlePath(c.MkDir(), "dummy", "series")
 
54
        bunpath := coretesting.Charms.BundlePath(c.MkDir(), "series", "dummy")
55
55
        bun, err := corecharm.ReadBundle(bunpath)
56
56
        c.Assert(err, IsNil)
57
57
        bundata, hash := readHash(c, bunpath)