Changeset 9459 for trunk/anuga_core/source/anuga
- Timestamp:
- Jan 21, 2015, 4:15:30 PM (10 years ago)
- Location:
- trunk/anuga_core/source/anuga
- Files:
-
- 3 deleted
- 2 edited
- 2 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/anuga_core/source/anuga/structures/test/test_inlet_operator.py
r9442 r9459 15 15 16 16 from anuga.structures.inlet_operator import Inlet_operator 17 18 import warnings 19 warnings.simplefilter("ignore") 17 20 18 21 class Test_inlet_operator(unittest.TestCase): … … 215 218 216 219 path = get_pathname_from_package('anuga.structures') 217 filename1 = os.path.join(path, ' data', 'inlet_operator_test1.tms')218 filename2 = os.path.join(path, ' data', 'inlet_operator_test2.tms')220 filename1 = os.path.join(path, 'test', 'data', 'inlet_operator_test1.tms') 221 filename2 = os.path.join(path, 'test', 'data', 'inlet_operator_test2.tms') 219 222 220 223 line1 = [[95.0, 10.0], [105.0, 10.0]] … … 275 278 276 279 path = get_pathname_from_package('anuga.structures') 277 filename1 = os.path.join(path, ' data', 'inlet_operator_test1.tms')278 filename2 = os.path.join(path, ' data', 'inlet_operator_test2.tms')280 filename1 = os.path.join(path, 'test', 'data', 'inlet_operator_test1.tms') 281 filename2 = os.path.join(path, 'test', 'data', 'inlet_operator_test2.tms') 279 282 280 283 line1 = [[95.0, 10.0], [105.0, 10.0]] -
trunk/anuga_core/source/anuga/utilities/test/test_system_tools.py
r9437 r9459 17 17 # I'm trying to keep this file general, so it works for EQRM and ANUGA 18 18 # EQRM also uses this file, but has a different directory structure 19 from system_tools import *19 from anuga.utilities.system_tools import * 20 20 21 21 class Test_system_tools(unittest.TestCase): … … 123 123 """ 124 124 125 # Get path where this test is run 126 # I'm trying to keep this file general, so it works for EQRM and ANUGA127 path , tail = split(__file__)128 if path == '':129 path = '.' + sep130 131 filename = path + sep + '..' + sep + 'data' + sep + 'crc_test_file.png' 125 126 127 path = get_pathname_from_package('anuga.utilities') 128 129 filename = os.path.join(path, 'test', 'data', 'crc_test_file.png') 130 131 132 132 133 133 ref_crc = 1203293305 # Computed on Windows box
Note: See TracChangeset
for help on using the changeset viewer.