~ubuntu-branches/ubuntu/saucy/juju-core/saucy-updates

« back to all changes in this revision

Viewing changes to src/launchpad.net/juju-core/environs/testing/polling_test.go

  • Committer: Package Import Robot
  • Author(s): James Page
  • Date: 2013-09-03 14:22:22 UTC
  • mfrom: (1.1.7)
  • Revision ID: package-import@ubuntu.com-20130903142222-9mes2r8wqr0bs7lp
Tags: 1.13.3-0ubuntu1
New upstream point release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
8
8
 
9
9
        gc "launchpad.net/gocheck"
10
10
 
11
 
        "launchpad.net/juju-core/environs"
 
11
        "launchpad.net/juju-core/provider"
12
12
        "launchpad.net/juju-core/utils"
13
13
)
14
14
 
72
72
}
73
73
 
74
74
func (*testingSuite) TestPatchAttemptStrategiesPatchesEnvironsStrategies(c *gc.C) {
75
 
        c.Assert(environs.LongAttempt, gc.Not(gc.DeepEquals), impatientAttempt)
76
 
        c.Assert(environs.ShortAttempt, gc.Not(gc.DeepEquals), impatientAttempt)
 
75
        c.Assert(provider.LongAttempt, gc.Not(gc.DeepEquals), impatientAttempt)
 
76
        c.Assert(provider.ShortAttempt, gc.Not(gc.DeepEquals), impatientAttempt)
77
77
 
78
78
        cleanup := PatchAttemptStrategies()
79
79
        defer cleanup()
80
80
 
81
 
        c.Check(environs.LongAttempt, gc.DeepEquals, impatientAttempt)
82
 
        c.Check(environs.ShortAttempt, gc.DeepEquals, impatientAttempt)
 
81
        c.Check(provider.LongAttempt, gc.DeepEquals, impatientAttempt)
 
82
        c.Check(provider.ShortAttempt, gc.DeepEquals, impatientAttempt)
83
83
}
84
84
 
85
85
func (*testingSuite) TestPatchAttemptStrategiesPatchesGivenAttempts(c *gc.C) {