17 |
import unittest |
import unittest |
18 |
import traceback |
import traceback |
19 |
|
|
20 |
|
import postgissupport |
21 |
|
|
22 |
|
|
23 |
def thuban_dir(): |
def thuban_dir(): |
24 |
"""Return the directory containing the Thuban package""" |
"""Return the directory containing the Thuban package""" |
25 |
thisdir = os.path.dirname(__file__) |
thisdir = os.path.dirname(__file__) |
151 |
# ends with a sys.exit to make sure that the process exits with |
# ends with a sys.exit to make sure that the process exits with |
152 |
# an appropriate exit code |
# an appropriate exit code |
153 |
|
|
154 |
|
# Shutdown the postgis server if it's running |
155 |
|
try: |
156 |
|
postgissupport.shutdown_test_server() |
157 |
|
except: |
158 |
|
traceback.print_exc() |
159 |
|
|
160 |
# Print additional information |
# Print additional information |
161 |
print_additional_summary() |
print_additional_summary() |
162 |
|
|