gem / openquake-server

DEPRECATED. Please refer to https://github.com/gem/oq-engine
6 stars 1 forks source link

Add missing shapefile creation tests #19

Closed larsbutler closed 13 years ago

larsbutler commented 13 years ago

Hi, this patch is a follow-up to https://github.com/gem/openquake-server/pull/18.

Changes:

al-maisan commented 13 years ago

Hello Lars,

can you please fix the following test failure (should be an easy one):

$ (export DJANGO_SETTINGS_MODULE="geonode.settings"; export OQ_MTAPI_DB="mtapi_test"; export OQ_MTAPI_PASSWORD="_Bloujqueewjack9"; nosetests -s tests/*_unittest.py)
............F.................................
======================================================================
FAIL: If no 'output' parameter is specified, create_shapefile() will try to
----------------------------------------------------------------------
Traceback (most recent call last):
File "/p/work/oqsrv/tests/bin_gen_shapefile_unittest.py", line 380, in test_create_shapefile_with_no_output_specified
self.assertEqual(expected_output, config['output'])
AssertionError: '/tmp/shapefiles' != '/tmp/hazard-shapefiles'
al-maisan commented 13 years ago

LGTM