MCPcopy
hub / github.com/vulcand/vulcand / TestNotFoundHandler

Method TestNotFoundHandler

api/api_test.go:78–81  ·  view source on GitHub ↗
(c *C)

Source from the content-addressed store, hash-verified

76}
77
78func (s *ApiSuite) TestNotFoundHandler(c *C) {
79 _, err := s.client.Get(s.client.endpoint("blabla"), nil)
80 c.Assert(err, FitsTypeOf, &engine.NotFoundError{})
81}
82
83func (s *ApiSuite) TestHostCRUD(c *C) {
84 host := engine.Host{Name: "localhost"}

Callers

nothing calls this directly

Calls 2

endpointMethod · 0.80
GetMethod · 0.45

Tested by

no test coverage detected