Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima <lucas.dipentima@curii.com>
err = json.Unmarshal(resp.Body.Bytes(), &jresp)
c.Check(err, check.IsNil)
c.Assert(len(jresp.Errors), check.Equals, 1)
- c.Check(jresp.Errors[0], check.Matches, `.*tag value.*for key.*is not listed as valid.*`)
+ c.Check(jresp.Errors[0], check.Matches, `.*tag value.*is not valid for key.*`)
}
func (s *HandlerSuite) TestProxyDiscoveryDoc(c *check.C) {
if err != nil {
return fmt.Errorf("while loading vocabulary file %q: %s", conn.cluster.API.VocabularyPath, err)
}
- err = voc.Validate()
- if err != nil {
- return fmt.Errorf("while validating vocabulary file %q: %s", conn.cluster.API.VocabularyPath, err)
- }
conn.vocabularyCache = voc
return nil
}