Refactor datastore implementation

This commit is contained in:
Matt Wright
2012-08-24 11:38:25 -04:00
parent da9f683c22
commit f928db298d
11 changed files with 167 additions and 153 deletions
+1 -1
View File
@@ -182,7 +182,7 @@ class DefaultSecurityTests(SecurityTest):
with self.app.test_request_context('/'):
user = self.app.security.datastore.find_user(email='matt@lp.com')
self.app.security.datastore.delete_user(user)
self.app.security.datastore._commit()
self.app.security.datastore.commit()
r = self._get('/')
self.assertNotIn('Hello matt@lp.com', r.data)