Logging handler to send logs to your OpenSearch cluster with bulk SSL. Forked from https://github.com/logzio/logzio-python-handler
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12 lines
368 B

  1. import os
  2. import pkgutil
  3. def load_tests(loader, suite, pattern):
  4. for imp, modname, _ in pkgutil.walk_packages(__path__):
  5. mod = imp.find_module(modname).load_module(modname)
  6. for test in loader.loadTestsFromModule(mod):
  7. print("Running TestCase: {}".format(modname))
  8. suite.addTests(test)
  9. print("=" * 70)
  10. return suite