Private
Public Access
1
0

coverage changes

This commit is contained in:
Sander Roosendaal
2021-09-15 10:10:48 +02:00
parent 86cef108fe
commit 8205fd3c3f
12 changed files with 26 additions and 19 deletions

View File

@@ -335,11 +335,11 @@ def handle_strava_sync(stravatoken,workoutid,filename,name,activity_type,descrip
failed = True
except stravalib.exc.ObjectNotFound: # pragma: no cover
failed = True
except IndexError:
except IndexError: # pragma: no cover
failed = True
except ActivityUploadFailed: # pragma: no cover
failed = True
except FileNotFoundError:
except FileNotFoundError: # pragma: no cover
failed = True
if not failed:
@@ -3399,7 +3399,7 @@ def fetch_strava_workout(stravatoken,oauth_data,stravaid,csvfilename,userid,debu
try:
workoutsummary = requests.get(url,headers=headers).json()
except:
except: # pragma: no cover
return 0