def testGetWhenDatastore(self):
    k = 'k'
    v = 2
    mtime = 0
    mock_models = self.mox.CreateMockAnything()
    mock_settings = self.mox.CreateMockAnything()
    self.settings._module.models = mock_models
    mock_models.Settings = mock_settings
    mock_settings.GetItem(k).AndReturn([v, mtime])

    self.mox.ReplayAll()
    self.assertEqual(self.settings._Get(k), v)
    self.mox.VerifyAll()
Test _Get() when the setting is in the datastore.
dataset/ETHPy150Open google/simian/src/tests/simian/settings_test.py/DatastoreSettingsTest.testGetWhenDatastore