Пример #1
0
 def listTests(self, short=False, main=False):
     if len(self.tests) == 0:
         raise Err("No tests found")
     for t in self.tests:
         if short:
             t = self.getAlias(t)
         if not main or self.cache.isMainModule(t):
             log.info("%s", t)
Пример #2
0
 def listTests(self, short=False, main=False):
     if len(self.tests) == 0:
         raise Err("No tests found")
     for t in self.tests:
         if short:
             t = self.getAlias(t)
         if not main or self.cache.isMainModule(t):
             log.info("%s", t)