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

Unified Diff: cmd/juju/addunit_test.go

Issue 6495086: testing: make charm API into a test fixture.
Patch Set: testing: make charm API into a test fixture. Created 11 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
Index: cmd/juju/addunit_test.go
=== modified file 'cmd/juju/addunit_test.go'
--- cmd/juju/addunit_test.go 2012-08-28 17:33:59 +0000
+++ cmd/juju/addunit_test.go 2012-09-05 14:55:05 +0000
@@ -5,7 +5,6 @@
. "launchpad.net/gocheck"
"launchpad.net/juju-core/charm"
"launchpad.net/juju-core/cmd"
- "launchpad.net/juju-core/testing"
)
type AddUnitSuite struct {
@@ -22,7 +21,7 @@
}
func (s *AddUnitSuite) TestAddUnit(c *C) {
- testing.Charms.BundlePath(s.seriesPath, "dummy")
+ s.Repo.DirWithSeries("precise", "dummy")
err := runDeploy(c, "local:dummy", "some-service-name")
c.Assert(err, IsNil)
curl := charm.MustParseURL("local:precise/dummy-1")

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