File: tests.py

package info (click to toggle)
doxyqml 0.5.3-0.1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 412 kB
  • sloc: python: 1,349; cpp: 165; makefile: 9; sh: 8
file content (11 lines) | stat: -rwxr-xr-x 312 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
#!/usr/bin/env python3
import os
import sys
import unittest


if __name__ == "__main__":
    current_dir = os.path.dirname(__file__)
    args = [sys.argv[0]] + ["discover", "--start-directory", current_dir, "--pattern", "*testcase.py"] + sys.argv[1:]
    unittest.main(module=None, argv=args)
# vi: ts=4 sw=4 et