gem/oq-engine — pull request #734 by larsbutler (2012-03-29 15:19:42+00:00)
Title: Fix an intermittent test failure

This error:

test_import_job_profile (tests.engine_unittest.EngineAPITestCase) ... FAIL

======================================================================
FAIL: test_import_job_profile (tests.engine_unittest.EngineAPITestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/larsbutler/proj/oq-engine/tests/engine_unittest.py", line 222, in test_import_job_profile
"model", "_owner_cache")))
AssertionError: False is not True

This error only appears if you run the QA test suite and then the unit test suite. If you rebuild the database in between, the error does not occur.