def get_suite():
 loader = unittest.TestLoader()
 tld = __file__.split(os.path.sep)
 tld.reverse()
 for (i, x) in enumerate(tld):
  if (x == 'pyamf'):
   tld.reverse()
   tld = os.path.sep.join(tld[:((-1) - i)])
   break
 return loader.discover('pyamf', top_level_dir=tld)

def get_suite ( ) : loader = unittest . TestLoader ( ) tld = __file__ . split ( os . path . sep ) tld . reverse ( ) for ( i , x ) in enumerate ( tld ) : if ( x == 'pyamf' ) : tld . reverse ( ) tld = os . path . sep . join ( tld [ : ( ( - 1 ) - i ) ] ) break return loader . discover ( 'pyamf' , top_level_dir = tld )
discover the entire test suite .