/[thuban]/branches/WIP-pyshapelib-bramz/test/support.py
ViewVC logotype

Diff of /branches/WIP-pyshapelib-bramz/test/support.py

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1601 by bh, Mon Aug 18 17:22:07 2003 UTC revision 1605 by bh, Tue Aug 19 11:00:40 2003 UTC
# Line 17  import os, sys Line 17  import os, sys
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__)
# Line 148  def execute_as_testsuite(callable, *args Line 151  def execute_as_testsuite(callable, *args
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    

Legend:
Removed from v.1601  
changed lines
  Added in v.1605

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26