coto / gae-boilerplate

Google App Engine Boilerplate
https://dev-dot-sandengine.appspot.com/
Other
684 stars 188 forks source link

fix tests failing due to config and environment problems #244

Closed cheesun closed 11 years ago

cheesun commented 11 years ago

My first contribution so go easy on me, and review carefully :)

Changed config import for decorators to go straight to the config hash.

Decorators that care about environments now run only in production (rather than non-localhost) - I don't fully understand why these don't work / shouldn't run in localhost/testing so please check that I've not made an incorrect assumption.

The environment in the test config is now 'testing'.

Also fixed some tests who's assertions needed to change due to an old commit: https://github.com/coto/gae-boilerplate/commit/94a068eb31edc9280384f77b054f26a7e1551d22