File: __init__.py

package info (click to toggle)
py3dns 3.1.0-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 260 kB
  • ctags: 445
  • sloc: python: 2,035; makefile: 10
file content (13 lines) | stat: -rw-r--r-- 305 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
import unittest
import importlib

def test_suite():
    module_names = [
        '.testPackers',
        '.test_base'
    ]
    suites = []
    for m in module_names:
        module = importlib.import_module(m, 'DNS.tests')
        suites.append(module.test_suite())
    return unittest.TestSuite(suites)