- Timestamp:
- Oct 11, 2006, 11:57:10 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
anuga_core/source/anuga/shallow_water/test_data_manager.py
r3720 r3741 11 11 from struct import pack 12 12 13 from anuga.shallow_water.data_manager import *14 13 from anuga.shallow_water import * 14 from data_manager import * 15 15 from anuga.config import epsilon 16 from anuga.utilities.anuga_exceptions import ANUGAError 17 from anuga.utilities.numerical_tools import ensure_numeric 16 18 17 19 # This is needed to run the tests of local functions … … 5006 5008 quantities_init[1].append(n ) # UA 5007 5009 quantities_init[2].append(e) # VA 5008 #print "lonlatdeps",lonlatdeps 5009 base_name = str(id(self))5010 #print "lonlatdeps",lonlatdeps 5011 _,base_name = tempfile.mkstemp("") 5010 5012 files = [] 5011 5013 for i,q in enumerate(quantities): … … 5046 5048 time_step_count = 45 5047 5049 time_step = -7 5048 base_name = str(id(self))5050 _,base_name = tempfile.mkstemp("") 5049 5051 files = [] 5050 5052 quantities = ['HA','UA','VA'] … … 5071 5073 raise msg 5072 5074 sww_file = base_name + '.sww' 5073 5074 5075 self.delete_mux(files) 5075 5076 … … 5193 5194 #------------------------------------------------------------- 5194 5195 if __name__ == "__main__": 5195 #suite = unittest.makeSuite(Test_Data_Manager,'test_sww_minimum_storable_height') 5196 #suite = unittest.makeSuite(Test_Data_Manager,'test_urs2sww_test_fail') 5197 #suite = unittest.makeSuite(Test_Data_Manager,'test_urs2sww') 5196 5198 suite = unittest.makeSuite(Test_Data_Manager,'test') 5197 5199 runner = unittest.TextTestRunner()
Note: See TracChangeset
for help on using the changeset viewer.