Merge lp:~waigani/juju-core/1299969-isolate-more-ssh-tests into lp:~go-bot/juju-core/trunk
Proposed by
Jesse Meek
Status: | Merged |
---|---|
Approved by: | Jesse Meek |
Approved revision: | no longer in the source branch. |
Merged at revision: | 2616 |
Proposed branch: | lp:~waigani/juju-core/1299969-isolate-more-ssh-tests |
Merge into: | lp:~go-bot/juju-core/trunk |
Diff against target: |
45 lines (+4/-5) 2 files modified
provider/common/bootstrap_test.go (+2/-3) provider/common/supportedarchitectures_test.go (+2/-2) |
To merge this branch: | bzr merge lp:~waigani/juju-core/1299969-isolate-more-ssh-tests |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Juju Engineering | Pending | ||
Review via email: mp+215382@code.launchpad.net |
Commit message
Isolate ssh tests with FakeHomeSuite
Use the FakeHomeSuite to isolate
provider/common tests which require
ssh keys.
Description of the change
Isolate ssh tests with FakeHomeSuite
Use the FakeHomeSuite to isolate
provider/common tests which require
ssh keys.
To post a comment you must log in.
Reviewers: mp+215382_ code.launchpad. net,
Message:
Please take a look.
Description:
Isolate ssh tests with FakeHomeSuite
Use the FakeHomeSuite to isolate
provider/common tests which require
ssh keys.
https:/ /code.launchpad .net/~waigani/ juju-core/ 1299969- isolate- more-ssh- tests/+ merge/215382
(do not edit description out of merge proposal)
Please review this at https:/ /codereview. appspot. com/86800043/
Affected files (+6, -5 lines): common/ bootstrap_ test.go common/ supportedarchit ectures_ test.go
A [revision details]
M provider/
M provider/
Index: [revision details] 20140411070034- bz7mjvbtc6wieyy 8
=== added file '[revision details]'
--- [revision details] 2012-01-01 00:00:00 +0000
+++ [revision details] 2012-01-01 00:00:00 +0000
@@ -0,0 +1,2 @@
+Old revision: tarmac-
+New revision: <email address hidden>
Index: provider/ common/ bootstrap_ test.go common/ bootstrap_ test.go' common/ bootstrap_ test.go 2014-04-04 15:55:19 +0000 common/ bootstrap_ test.go 2014-04-11 10:12:20 +0000 net/juju- core/instance" net/juju- core/provider/ common" net/juju- core/testing" net/juju- core/testing/ testbase" net/juju- core/tools" net/juju- core/utils/ ssh"
=== modified file 'provider/
--- provider/
+++ provider/
@@ -22,13 +22,12 @@
"launchpad.
"launchpad.
coretesting "launchpad.
- "launchpad.
"launchpad.
"launchpad.
)
type BootstrapSuite struct { LoggingSuite FakeHomeSuite ToolsFixture
- testbase.
+ coretesting.
envtesting.
}
@@ -39,7 +38,7 @@
}
func (s *BootstrapSuite) SetUpTest(c *gc.C) { SetUpTest( c) .SetUpTest( c) re.SetUpTest( c) (common. ConnectSSH, func(_ ssh.Client, host, checkHostScript
- s.LoggingSuite.
+ s.FakeHomeSuite
s.ToolsFixtu
s.PatchValue
string) error {
return fmt.Errorf("mock connection failure to %s", host)
Index: provider/ common/ supportedarchit ectures_ test.go common/ supportedarchit ectures_ test.go' common/ supportedarchit ectures_ test.go 2014-04-10 05:25:17 +0000 common/ supportedarchit ectures_ test.go 2014-04-11 10:12:20 +0000 net/juju- core/environs/ imagemetadata" net/juju- core/environs/ simplestreams" net/juju- core/provider/ common" net/juju- core/testing/ testbase" net/juju- core/testing"
=== modified file 'provider/
--- provider/
+++ provider/
@@ -12,11 +12,11 @@
"launchpad.
"launchpad.
"launchpad.
- "launchpad.
+ coretesting "launchpad.
)
type archSuite struct { LoggingSuite FakeHomeSuite
- testbase.
+ coretesting.
}
var _ = gc.Suite( &archSuite{ })