gem/oq-engine — pull request #872 by larsbutler (2012-09-11 13:59:17+00:00)
Title: Classical Hazard QA tests, case 1

The first pull request for https://bugs.launchpad.net/openquake/+bug/1047250.

This branch only includes the first test case (of 11), but I wanted to submit this before continuing the rest of the tests because the branch puts in place the general test structure and related utilities.

Also, note that I've removed existing QA tests. On the `nhlib-integration` branch, these tests are no longer relevant. If need them for any reason, they still exist in the `master` branch (as well as git history).

The intent here is to have a separate folder for each case, containing input files and single test module for executing the QA tests. The convention I have used here is that every QA test should have the 'qa' nose attribute so that all QA tests can be run like this `./run_tests -a 'qa'` or omitted like this `./run_tests -a '!qa'`.