fhahn/django-gaeauth — pull request #3 by metzen (2011-11-14 00:10:22+00:00)
Title: Fixed a bug where we're improperly inserting an int in os.environ

The dev_appserver testbed currently does some monkey patching and replaces os.environ with a dictionary so this doesn't currently cause an issue. However, if that changes, our test will fail if it executes against the real os.environ object.

>>> os.environ['foo'] = 1
Traceback (most recent call last):
File "", line 1, in
File "/usr/lib/python2.6/os.py", line 471, in __setitem__
putenv(key, item)
TypeError: putenv() argument 2 must be string, not int