~james-page/ubuntu/wily/juju-core/mir-fixes

« back to all changes in this revision

Viewing changes to src/github.com/juju/juju/provider/local/environprovider_test.go

  • Committer: Package Import Robot
  • Author(s): Oleg Strikov
  • Date: 2015-04-14 14:11:54 UTC
  • mfrom: (1.1.33)
  • Revision ID: package-import@ubuntu.com-20150414141154-7vw7hcjo53nkt9vo
Tags: 1.22.1-0ubuntu1
* New upstream bugfix release (LP: #1444037).
* Autopkgtests were changed to switch back to upstart before running their
  workload. This is needed because juju < 1.23 doesn't support systemd.
* d/patches/fix-detect-new-release.patch: Removed because applied upstream.
* d/copyright: Updated to reflect changes in the codebase.

Show diffs side-by-side

added added

removed removed

Lines of Context:
320
320
        c.Assert(env.Config().ProxySSH(), jc.IsFalse)
321
321
}
322
322
 
323
 
func (s *prepareSuite) TesteProxyLocalhostFix(c *gc.C) {
 
323
func (s *prepareSuite) TestProxyLocalhostFix(c *gc.C) {
324
324
        basecfg, err := config.New(config.UseDefaults, map[string]interface{}{
325
325
                "type": "local",
326
326
                "name": "test",
410
410
        url:          "www.google.com",
411
411
        port:         ":8877",
412
412
        expectChange: false,
 
413
}, {
 
414
        message:      "lp 1437296 - apt-http-proxy being reset to bridge address when shouldn't",
 
415
        url:          "192.168.1.201",
 
416
        port:         ":8000",
 
417
        expectChange: false,
413
418
},
414
419
}