コード例 #1
0
ファイル: test_datastore.py プロジェクト: BitPhone/drogulus
 def test_last_published(self):
     """
     Ensures the correct value is returned from last_published for a given
     key.
     """
     store = DictDataStore()
     store['foo'] = self.mock_value
     self.assertTrue(store.last_published('foo'))