File: tests.py

package info (click to toggle)
rbldnsd 1.0~20210120-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 956 kB
  • sloc: ansic: 8,354; sh: 617; python: 614; makefile: 223; awk: 33
file content (18 lines) | stat: -rw-r--r-- 371 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
""" Convenience script to run all python test cases in one go.
"""
import sys
import unittest

try:
    import DNS
except ImportError:
    print("TESTS SKIPPED: the python3-dns library is not installed")
    sys.exit(0)

from test_btrie import *
from test_ip6trie import *
from test_ip4trie import *
from test_acl import *

if __name__ == '__main__':
    unittest.main()