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

Delta Between Two Patch Sets: provider/dummy/environs_test.go

Issue 13355044: environs/config: more restrictive New
Left Patch Set: Created 11 years, 7 months ago
Right Patch Set: environs/config: more restrictive New 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:
Left: Side by side diff | Download
Right: Side by side diff | Download
« no previous file with change/comment | « provider/dummy/environs.go ('k') | provider/ec2/config_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
1 // Copyright 2012, 2013 Canonical Ltd. 1 // Copyright 2012, 2013 Canonical Ltd.
2 // Licensed under the AGPLv3, see LICENCE file for details. 2 // Licensed under the AGPLv3, see LICENCE file for details.
3 3
4 package dummy_test 4 package dummy_test
5 5
6 import ( 6 import (
7 stdtesting "testing" 7 stdtesting "testing"
8 8
9 gc "launchpad.net/gocheck" 9 gc "launchpad.net/gocheck"
10 10
11 "launchpad.net/juju-core/environs/jujutest" 11 "launchpad.net/juju-core/environs/jujutest"
12 "launchpad.net/juju-core/provider/dummy" 12 "launchpad.net/juju-core/provider/dummy"
13 "launchpad.net/juju-core/testing" 13 "launchpad.net/juju-core/testing"
14 ) 14 )
15 15
16 func init() { 16 func init() {
17 gc.Suite(&jujutest.LiveTests{ 17 gc.Suite(&jujutest.LiveTests{
18 » » TestConfig: dummy.SampleConfig, 18 » » TestConfig: dummy.SampleConfig(),
19 CanOpenState: true, 19 CanOpenState: true,
20 HasProvisioner: false, 20 HasProvisioner: false,
21 }) 21 })
22 gc.Suite(&jujutest.Tests{ 22 gc.Suite(&jujutest.Tests{
23 » » TestConfig: dummy.SampleConfig, 23 » » TestConfig: dummy.SampleConfig(),
24 }) 24 })
25 } 25 }
26 26
27 func TestSuite(t *stdtesting.T) { 27 func TestSuite(t *stdtesting.T) {
28 testing.MgoTestPackage(t) 28 testing.MgoTestPackage(t)
29 } 29 }
LEFTRIGHT

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