~fwereade/pyjuju/go-cmd-server-package

« back to all changes in this revision

Viewing changes to environs/jujutest/test.go

  • Committer: Roger Peppe
  • Date: 2012-02-27 10:15:46 UTC
  • mfrom: (70.1.3 go-environs-gocheck-fix)
  • Revision ID: roger.peppe@canonical.com-20120227101546-3xc18cjlhznz21ra
environs: fixes for gocheck changes.

R=fwereade
CC=
https://codereview.appspot.com/5699085

Show diffs side-by-side

added added

removed removed

Lines of Context:
26
26
// Open opens an instance of the testing environment.
27
27
func (t *Tests) Open(c *C) environs.Environ {
28
28
        e, err := t.Environs.Open(t.Name)
29
 
        c.Assert(err, IsNil, Bug("opening environ %q", t.Name))
 
29
        c.Assert(err, IsNil, Commentf("opening environ %q", t.Name))
30
30
        c.Assert(e, NotNil)
31
31
        return e
32
32
}
57
57
 
58
58
func (t *LiveTests) SetUpSuite(c *C) {
59
59
        e, err := t.Environs.Open(t.Name)
60
 
        c.Assert(err, IsNil, Bug("opening environ %q", t.Name))
 
60
        c.Assert(err, IsNil, Commentf("opening environ %q", t.Name))
61
61
        c.Assert(e, NotNil)
62
62
        t.Env = e
63
63
}