Пример #1
0
 def test_metadata(self):
     md = YumCataloger.metadata()
     expected = {
         'id': TYPE_ID,
         'display_name': "Yum Cataloger",
         'types': [RPM._content_type_id.default]
     }
     self.assertEqual(md, expected)
Пример #2
0
 def test_metadata(self):
     md = YumCataloger.metadata()
     expected = {
         'id': TYPE_ID,
         'display_name': "Yum Cataloger",
         'types': [models.RPM.TYPE]
     }
     self.assertEqual(md, expected)
 def test_metadata(self):
     md = YumCataloger.metadata()
     expected = {
         'id': TYPE_ID,
         'display_name': "Yum Cataloger",
         'types': [RPM._content_type_id.default]
     }
     self.assertEqual(md, expected)