Пример #1
0
 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'))