Created
January 21, 2012 06:20
-
-
Save webos-goodies/1651682 to your computer and use it in GitHub Desktop.
Enables high-replication datastore on Kay framework's testing framework
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from kay.ext.testutils.gae_test_base import GAETestBase | |
from google.appengine.api import apiproxy_stub_map | |
from google.appengine.datastore import datastore_stub_util | |
class TestSuite(GAETestBase): | |
def setUp(self): | |
stub = apiproxy_stub_map.apiproxy.GetStub('datastore_v3') | |
stub.SetConsistencyPolicy( | |
datastore_stub_util.TimeBasedHRConsistencyPolicy()) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment