def test_last_published(self): """ Ensures the expected value is returned from last_updated for a given key (a float representing a timestamp). """ store = DictDataStore() store["foo"] = self.mock_value self.assertIsInstance(store.last_updated("foo"), float)