def test_to_dict_access_tkn(self):
     ts = TokenStore()
     ts.access_token = 'a'
     dic = ts.to_dict()
     self.assertEqual('a', dic.get(_ACCESS_TOKEN))
     self.assertIn(_KEY_TIMESTAMP, dic.keys())
 def test_set_access_token_updates_ts(self):
     ts = TokenStore()
     ts.access_token = 'a'
     self.assertIsNotNone(ts._timestamp)