Instead of importing NotAuthorized in test helpers, do it on the test file
Change way to call nose's assert_raises, so it works on Python 2.6