Hoping to get a comment from the GAE python team on this one.
Has something changed between 1.6.3, 1.6.4 with regards to the way the dev_appserver datastore is flush
It looks like there have been some changes. I've been able to hack around the problem with the following:
from google.appengine.tools import dev_appserver import atexit atexit.register(dev_appserver.TearDownStubs)
This ensures the datastore is flushed on exit.