geoadmin/mf-chsdi3 — pull request #738 by gjn (2014-05-28 14:32:06+00:00)
Title: [WIP] Run nosetests on target system

I put this PR up for discussion. During deploy, we currently run our nosetests on our test instance using the test cluster db.

This is bad as it simply ignores what on our int and prod db clusters.

My initial goal was to run nosetest ***on the test instance*** using the target db cluster. But I failed to do that and I think it would require changes in the deploy script to properly handle this. The reason for this is the the create hooks (which are run on test) don't have any target information. If you have a solution for that, please add comments (or I'll gladly review a seperate PR).

What this PR now does, it will run nosetest ***on the target instances*** using the target db cluster. This is not ideal because 1) it runs for every instance we have, which is not needed and 2) it runs on our production environment.