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

Delta Between Two Patch Sets: state/api/client_test.go

Issue 12943045: juju: juju.NewAPIClientFromName
Left Patch Set: Created 11 years, 7 months ago
Right Patch Set: juju: juju.NewAPIClientFromName Created 11 years, 7 months ago
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
Right: Side by side diff | Download
« no previous file with change/comment | « state/api/client.go ('k') | state/api/state_test.go » ('j') | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
(no file at all)
1 // Copyright 2013 Canonical Ltd.
2 // Licensed under the AGPLv3, see LICENCE file for details.
3
4 package api_test
5
6 import (
7 gc "launchpad.net/gocheck"
8
9 jujutesting "launchpad.net/juju-core/juju/testing"
10 )
11
12 type clientSuite struct {
13 jujutesting.JujuConnSuite
14 }
15
16 var _ = gc.Suite(&clientSuite{})
17
18 // TODO(jam) 2013-08-27 http://pad.lv/1217282
19 // Right now most of the direct tests for api.Client behavior are in
20 // state/apiserver/client/*_test.go
21
22 func (s *clientSuite) TestCloseMultipleOk(c *gc.C) {
23 client := s.APIState.Client()
24 c.Assert(client.Close(), gc.IsNil)
25 c.Assert(client.Close(), gc.IsNil)
26 c.Assert(client.Close(), gc.IsNil)
27 }
LEFTRIGHT

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