~ubuntu-branches/ubuntu/trusty/juju-core/trusty-proposed

« back to all changes in this revision

Viewing changes to src/launchpad.net/juju-core/provider/null/config_test.go

  • Committer: Package Import Robot
  • Author(s): James Page
  • Date: 2014-01-29 11:40:20 UTC
  • mfrom: (23.1.1 trusty-proposed)
  • Revision ID: package-import@ubuntu.com-20140129114020-ejieitm8smtt5vln
Tags: 1.17.1-0ubuntu2
d/tests/local-provider: Don't fail tests if ~/.juju is present as its
created by the juju version command. 

Show diffs side-by-side

added added

removed removed

Lines of Context:
103
103
        testConfig := getEnvironConfig(c, values)
104
104
        c.Assert(testConfig.bootstrapHost(), gc.Equals, "hostname")
105
105
        c.Assert(testConfig.bootstrapUser(), gc.Equals, "")
106
 
        c.Assert(testConfig.sshHost(), gc.Equals, "hostname")
107
106
        values["bootstrap-host"] = "127.0.0.1"
108
107
        values["bootstrap-user"] = "ubuntu"
109
108
        testConfig = getEnvironConfig(c, values)
110
109
        c.Assert(testConfig.bootstrapHost(), gc.Equals, "127.0.0.1")
111
110
        c.Assert(testConfig.bootstrapUser(), gc.Equals, "ubuntu")
112
 
        c.Assert(testConfig.sshHost(), gc.Equals, "ubuntu@127.0.0.1")
113
111
}
114
112
 
115
113
func (s *configSuite) TestStorageParams(c *gc.C) {