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

Unified Diff: state/apiserver/client/api_test.go

Issue 13606045: various: gocheck, checkers, imports fixes (Closed)
Patch Set: 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: state/apiserver/client/api_test.go
=== modified file 'state/apiserver/client/api_test.go'
--- state/apiserver/client/api_test.go 2013-08-19 11:20:02 +0000
+++ state/apiserver/client/api_test.go 2013-09-13 14:48:13 +0000
@@ -5,7 +5,11 @@
import (
"fmt"
+ stdtesting "testing"
+ "time"
+
gc "launchpad.net/gocheck"
+
"launchpad.net/juju-core/constraints"
"launchpad.net/juju-core/environs/config"
"launchpad.net/juju-core/errors"
@@ -15,9 +19,7 @@
"launchpad.net/juju-core/state/api"
"launchpad.net/juju-core/state/api/params"
coretesting "launchpad.net/juju-core/testing"
- "launchpad.net/juju-core/testing/checkers"
- stdtesting "testing"
- "time"
+ jc "launchpad.net/juju-core/testing/checkers"
)
func TestAll(t *stdtesting.T) {
@@ -74,7 +76,7 @@
c.Assert(err, gc.IsNil)
err = service.Refresh()
- c.Assert(err, checkers.Satisfies, errors.IsNotFoundError)
+ c.Assert(err, jc.Satisfies, errors.IsNotFoundError)
}
// apiAuthenticator represents a simple authenticator object with only the

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