def accepted_ct(self):
     results = ListTile.accepted_ct(self)
     results.append(u'ExternalContent')
     return results
Пример #2
0
 def test_accepted_content_types(self):
     results = ListTile.accepted_ct(self.tile)
     results.append(u'ExternalContent')
     self.assertEqual(self.tile.accepted_ct(), results)
Пример #3
0
 def accepted_ct(self):
     results = ListTile.accepted_ct(self)
     results.append(u'ExternalContent')
     return results
 def test_accepted_content_types(self):
     results = ListTile.accepted_ct(self.tile)
     results.append(u'ExternalContent')
     self.assertEqual(self.tile.accepted_ct(), results)