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

Unified Diff: juju/mock_test.go

Issue 102920048: state/*: login to /ENVUUID/api URLs
Patch Set: state/*: login to /ENVUUID/api URLs Created 11 years, 5 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: juju/mock_test.go
=== modified file 'juju/mock_test.go'
--- juju/mock_test.go 2014-03-31 12:24:52 +0000
+++ juju/mock_test.go 2014-05-26 18:16:47 +0000
@@ -10,6 +10,7 @@
close func(juju.APIState) error
apiHostPorts [][]instance.HostPort
+ environTag string
}
func (s *mockAPIState) Close() error {
@@ -23,6 +24,10 @@
return s.apiHostPorts
}
+func (s *mockAPIState) EnvironTag() string {
+ return s.environTag
+}
+
func panicAPIOpen(apiInfo *api.Info, opts api.DialOpts) (juju.APIState, error) {
panic("api.Open called unexpectedly")
}

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