Private
Public Access
1
0

more tests and coverage

This commit is contained in:
Sander Roosendaal
2021-05-17 09:53:00 +02:00
parent d195f03a55
commit ce9621890a
5 changed files with 28 additions and 20 deletions

View File

@@ -383,7 +383,7 @@ def async_get_workout(user,stravaid):
# Get a Strava workout summary data and stroke data by ID
def get_workout(user,stravaid,do_async=False):
if do_async:
if do_async: # pragma: no cover
res = async_get_workout(user,stravaid)
return {},pd.DataFrame()
try: