equal
deleted
inserted
replaced
243 return unprotected_entities(self.schema, strict=True) |
243 return unprotected_entities(self.schema, strict=True) |
244 |
244 |
245 def iter_automatic_rsets(self, limit=10): |
245 def iter_automatic_rsets(self, limit=10): |
246 """generates basic resultsets for each entity type""" |
246 """generates basic resultsets for each entity type""" |
247 etypes = self.to_test_etypes() |
247 etypes = self.to_test_etypes() |
|
248 if not etypes: |
|
249 return |
248 for etype in etypes: |
250 for etype in etypes: |
249 yield self.execute('Any X LIMIT %s WHERE X is %s' % (limit, etype)) |
251 yield self.execute('Any X LIMIT %s WHERE X is %s' % (limit, etype)) |
250 etype1 = etypes.pop() |
252 etype1 = etypes.pop() |
251 try: |
253 try: |
252 etype2 = etypes.pop() |
254 etype2 = etypes.pop() |