File: testall.py

package info (click to toggle)
py-postgresql 1.2.1%2Bgit20180803.ef7b9a9-4
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 1,620 kB
  • sloc: python: 18,317; ansic: 2,024; sql: 282; sh: 26; makefile: 22
file content (42 lines) | stat: -rw-r--r-- 962 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
##
# .test.testall
##
import unittest
from sys import stderr

from ..installation import default

from .test_exceptions import *
from .test_bytea_codec import *
from .test_iri import *
from .test_protocol import *
from .test_configfile import *
from .test_pgpassfile import *
from .test_python import *

from .test_installation import *
from .test_cluster import *

# These two require custom cluster configurations.
from .test_connect import *
# No SSL? cluster initialization will fail.
if default().ssl:
	from .test_ssl_connect import *
else:
	stderr.write("NOTICE: installation doesn't support SSL\n")

try:
	from .test_optimized import *
except ImportError:
	stderr.write("NOTICE: port.optimized could not be imported\n")

from .test_driver import *
from .test_alock import *
from .test_notifyman import *
from .test_copyman import *
from .test_lib import *
from .test_dbapi20 import *
from .test_types import *

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