Index: mstate/state_test.go |
=== modified file 'mstate/state_test.go' |
--- mstate/state_test.go 2012-09-06 10:10:03 +0000 |
+++ mstate/state_test.go 2012-09-06 15:02:08 +0000 |
@@ -7,7 +7,6 @@ |
"launchpad.net/juju-core/charm" |
"launchpad.net/juju-core/environs/config" |
state "launchpad.net/juju-core/mstate" |
- coretesting "launchpad.net/juju-core/testing" |
"net/url" |
) |
@@ -21,7 +20,7 @@ |
func (s *StateSuite) TestAddCharm(c *C) { |
// Check that adding charms from scratch works correctly. |
- ch := coretesting.Charms.Dir("dummy") |
+ ch := s.repo.Dir("dummy") |
curl := charm.MustParseURL( |
fmt.Sprintf("local:series/%s-%d", ch.Meta().Name, ch.Revision()), |
) |