def test_original_publish_time(self): """ Ensures the correct value is returned from original_publish_time for a given key. """ store = DictDataStore() store['foo'] = self.mock_value self.assertEqual(self.timestamp, store.original_publish_time('foo'))