Opened 18 years ago
Closed 18 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 18 years ago by
| Cc: | jane.sexton@… added |
|---|
comment:2 Changed 18 years ago by
| Resolution: | → fixed |
|---|---|
| Status: | new → closed |
