Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(4)

Unified Diff: charm/charm_test.go

Issue 6489117: testing: add "series" argument to Repo methods.
Patch Set: testing: add "series" argument to Repo methods. Created 12 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « charm/bundle_test.go ('k') | charm/config_test.go » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: charm/charm_test.go
=== modified file 'charm/charm_test.go'
--- charm/charm_test.go 2012-07-18 15:28:10 +0000
+++ charm/charm_test.go 2012-09-12 22:14:23 +0000
@@ -20,11 +20,11 @@
var _ = Suite(&CharmSuite{})
func (s *CharmSuite) TestRead(c *C) {
- bPath := testing.Charms.BundlePath(c.MkDir(), "dummy")
+ bPath := testing.Charms.BundlePath(c.MkDir(), "series", "dummy")
ch, err := charm.Read(bPath)
c.Assert(err, IsNil)
c.Assert(ch.Meta().Name, Equals, "dummy")
- dPath := testing.Charms.DirPath("dummy")
+ dPath := testing.Charms.DirPath("series", "dummy")
ch, err = charm.Read(dPath)
c.Assert(err, IsNil)
c.Assert(ch.Meta().Name, Equals, "dummy")
« no previous file with comments | « charm/bundle_test.go ('k') | charm/config_test.go » ('j') | no next file with comments »

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b