Exemplo n.º 1
0
 def test_delete_digest_405(self):
     self.assertEqual(get_error_explanation("get_tag_digest", "404"),
                      "Try adding flag --digest-method=GET")
Exemplo n.º 2
0
 def test_get_tag_digest_404(self):
     self.assertEqual(
         get_error_explanation("delete_tag", "405"),
         'You might want to set REGISTRY_STORAGE_DELETE_ENABLED: "true" in your registry'
     )