Opened 17 years ago
Closed 17 years ago
#162 closed task (fixed)
Move test file used by test polygon into same directory as the test
Reported by: | ole | Owned by: | jane |
---|---|---|---|
Priority: | low | Milestone: | |
Component: | Appearance and visualisation | Version: | |
Severity: | trivial | Keywords: | |
Cc: | jane.sexton@… |
Description
The test test_polygon_function_csvfile currently relies on a test file 'mainland_only.csv' which resides outside the anuga code repository. Consequently, the test will fail on most installations (see output below). I suggest making a local copy of the test file in the same directory as test_polygon.py.
===================================================================== ERROR: test_polygon_function_csvfile (test_polygon.Test_Polygon)
Traceback (most recent call last):
File "utilities\test_polygon.py", line 64, in test_polygon_function_csvfile
p1 = read_polygon(home+sep+'data'+sep+'western_australia'+sep+'dampier_tsunami_scenario_2006'+sep+'anuga'+sep+'polygons'
+sep+'2007polys'+sep+'mainland_only.csv') TypeError?: unsupported operand type(s) for +: 'NoneType?' and 'str'
Change History (2)
comment:1 Changed 17 years ago by ole
- Cc jane.sexton@… added
comment:2 Changed 17 years ago by anonymous
- Resolution set to fixed
- Status changed from new to closed