File: all_tests.py

package info (click to toggle)
python-boto 2.49.0-4.1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 9,888 kB
  • sloc: python: 86,396; makefile: 112
file content (24 lines) | stat: -rw-r--r-- 582 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24

import unittest
import doctest
from glob import glob

from create_hit_test import *
from create_hit_with_qualifications import *
from create_hit_external import *
from create_hit_with_qualifications import *
from hit_persistence import *

doctest_suite = doctest.DocFileSuite(
	*glob('*.doctest'),
	**{'optionflags': doctest.REPORT_ONLY_FIRST_FAILURE}
	)

class Program(unittest.TestProgram):
	def runTests(self, *args, **kwargs):
		self.test = unittest.TestSuite([self.test, doctest_suite])
		super(Program, self).runTests(*args, **kwargs)

if __name__ == '__main__':
	Program()