Correct helper method convention in test_views.
Correct helper method convention in test_views.

Non-class methods should not have a variable called 'self' and it made
more sense to pass the app directly than to pass the TestCase.

10gen-labs/mongo-web-shell,rcchan/mongo-web-shell,10gen-labs/mongo-web-shell,pilliq/mongo-web-shell,10gen-labs/mongo-web-shell,lnickers2004/mongo-web-shell,rcchan/mongo-web-shell,mcomella/mongo-web-shell,FuegoFro/mongo-web-shell,xl76/mongo-web-shell,pilliq/mongo-web-shell,ecbtln/mongo-web-shell,rcchan/mongo-web-shell,ecbtln/mongo-web-shell,lnickers2004/mongo-web-shell,ecbtln/mongo-web-shell,FuegoFro/mongo-web-shell,xl76/mongo-web-shell,mongodb-labs/mongo-web-shell,FuegoFro/mongo-web-shell,pilliq/mongo-web-shell,lnickers2004/mongo-web-shell,mongodb-labs/mongo-web-shell,mcomella/mongo-web-shell,mongodb-labs/mongo-web-shell,lnickers2004/mongo-web-shell,mcomella/mongo-web-shell