Changeset 2281 for inundation/alpha_shape
- Timestamp:
- Jan 25, 2006, 2:14:29 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
inundation/alpha_shape/test_alpha_shape.py
r2141 r2281 6 6 from Numeric import allclose 7 7 8 from alpha_shape import * 8 try: 9 from alpha_shape.alpha_shape import * 10 except ImportError: 11 from alpha_shape import * 9 12 10 13 class TestCase(unittest.TestCase): … … 162 165 'point list with 2 points did not raise an error!') 163 166 164 165 def test_alpha_stand_alone(self): 167 ## FIXME? Running from the Comand line isn't in vogue these days 168 # The test was breaking when test_all at the inundation level was running 169 # was running it. issue - not running the test in this directory 170 def Bad_test_alpha_stand_alone(self): 166 171 #print "test_alpha_stand_alone" 167 172 import os … … 182 187 output_file_name = tempfile.mktemp(".bnd") 183 188 #(ho, output_file_name) = tempfile.mkstemp(".bnd") 184 command = sys.executable + ' alpha_shape.py ' + fileName\185 + ' ' + output_file_name189 command = sys.executable + 'alpha_shape'+ os.sep +'alpha_shape.py ' \ 190 + fileName + ' ' + output_file_name 186 191 #print "command", command 187 192 os.system(command)
Note: See TracChangeset
for help on using the changeset viewer.