AIFDR/risk_in_a_box — Issue #103: python nose tests fail on gui
Author: timlinux
Created: 2012-02-24 04:33:11+00:00
State: open

The gui test suite works when running the tests individually (from the command line, or from eclipse) . However when the tests are run using python nose test runner, it hangs in the riabdock tests. It seems the issue may result from nose running tests in multiple threads which conflicts with out singleton use of QGISAPP, CANVAS etc.

I tried adding the processes=1 option to the nose commands in the Makefile to make nose run in a single thread, but that causes nose to crash & burn.

**Possible resolution:** Modify the makefile to call each test module individually rather than running them in a suite.

**Note:** this ticket only applied to the gui module