Exemplo n.º 1
0
 def test_entity_collection_empty(self):
     anydata = EntityCollection()
     self.assertEqual(len(anydata), 0)
     self.assertEqual(format(anydata), "Entities in EntityCollection: []")
Exemplo n.º 2
0
 def test_add_unsupported(self):
     anydata = EntityCollection()
     anydata.append('native')
     self.assertEqual(len(anydata), 0)