57
57
c.Assert(upgrader, gc.NotNil)
64
62
c.Assert(err, gc.ErrorMatches, "permission denied")
65
63
c.Assert(err, jc.Satisfies, params.IsCodeUnauthorized)
70
68
agentTools, err := s.rawMachine.AgentTools()
71
69
c.Assert(err, jc.Satisfies, errors.IsNotFoundError)
72
70
c.Assert(agentTools, gc.IsNil)
76
74
agentTools, err = s.rawMachine.AgentTools()