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

Delta Between Two Patch Sets: cmd/juju/bootstrap_test.go

Issue 6850087: environs/config: make CA cert optional
Left Patch Set: environs/config: make CA cert optional Created 12 years, 4 months ago
Right Patch Set: environs/config: make CA cert optional Created 12 years, 4 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 | « cmd/juju/bootstrap.go ('k') | cmd/juju/cmd_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 package main 1 package main
2 2
3 import ( 3 import (
4 "io/ioutil" 4 "io/ioutil"
5 "net/http" 5 "net/http"
6 6
7 . "launchpad.net/gocheck" 7 . "launchpad.net/gocheck"
8 "launchpad.net/juju-core/environs" 8 "launchpad.net/juju-core/environs"
9 "launchpad.net/juju-core/environs/dummy" 9 "launchpad.net/juju-core/environs/dummy"
10 "launchpad.net/juju-core/testing" 10 "launchpad.net/juju-core/testing"
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 defer resp.Body.Close() 75 defer resp.Body.Close()
76 76
77 err = environs.UnpackTools(c.MkDir(), tools, resp.Body) 77 err = environs.UnpackTools(c.MkDir(), tools, resp.Body)
78 c.Assert(err, IsNil) 78 c.Assert(err, IsNil)
79 79
80 // bootstrap with broken environment 80 // bootstrap with broken environment
81 opc, errc = runCommand(new(BootstrapCommand), "-e", "brokenenv") 81 opc, errc = runCommand(new(BootstrapCommand), "-e", "brokenenv")
82 c.Check(<-errc, ErrorMatches, "dummy.Bootstrap is broken") 82 c.Check(<-errc, ErrorMatches, "dummy.Bootstrap is broken")
83 c.Check(<-opc, IsNil) 83 c.Check(<-opc, IsNil)
84 } 84 }
LEFTRIGHT

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