corriporai / runpandas

RunPandas - Python Package for handing running data from GPS-enabled devices to worldwide race results.
https://runpandas.readthedocs.io/en/latest/
MIT License
23 stars 5 forks source link

BUG: Strava Client is giving AttributeError while running the pytest running suite. #63

Closed marcelcaraciolo closed 2 years ago

marcelcaraciolo commented 2 years ago

Problem description

Testing with new strava client is giving issues with variable not found.

` def refresh(self):

  if time.time() > self.token_expires_at:

E AttributeError: 'StravaClient' object has no attribute 'token_expires_at'

runpandas/io/strava/_client.py:101: AttributeError`

Expected Output

Testing passing.

runpandas version 0.5.1
marcelcaraciolo commented 2 years ago

Closed by #62