awlsim_tstlib.py 349 B

12345678910111213141516
  1. from __future__ import division, absolute_import, print_function, unicode_literals
  2. from unittest import TestCase
  3. __all__ = [
  4. "TestCase",
  5. "initTest",
  6. ]
  7. def initTest(testCaseFile):
  8. from os.path import basename
  9. print("(test case file: %s)" % basename(testCaseFile))
  10. # Run code coverage metrics, if enabled.
  11. import awlsim_loader.coverage_helper