Esempio n. 1
0
 def test_supports_legacy(self):
     self.assertEqual({
         "service": "advisor",
         "category": "upload"
     }, app.get_service("application/x-gzip; charset=binary"))
     self.assertEqual({
         "service": "fab",
         "category": "service"
     }, app.get_service("application/vnd.redhat.fab.service+tgz"))
Esempio n. 2
0
 def test_supports_legacy(self):
     self.assertEqual("advisor", app.get_service("application/x-gzip; charset=binary"))
     self.assertEqual("fab", app.get_service("application/vnd.redhat.fab.service+tgz"))