MCPcopy
hub / github.com/tsuru/tsuru / TestGetServiceReturnsErrorIfTheServiceIsDeleted

Method TestGetServiceReturnsErrorIfTheServiceIsDeleted

service/service_test.go:42–45  ·  view source on GitHub ↗
(c *check.C)

Source from the content-addressed store, hash-verified

40}
41
42func (s *S) TestGetServiceReturnsErrorIfTheServiceIsDeleted(c *check.C) {
43 _, err := Get(context.TODO(), "anything")
44 c.Assert(err, check.NotNil)
45}
46
47func (s *S) TestCreateService(c *check.C) {
48 endpt := map[string]string{

Callers

nothing calls this directly

Calls 1

GetFunction · 0.70

Tested by

no test coverage detected