adding a test
This commit is contained in:
@@ -390,13 +390,15 @@ class C2Integration(SyncIntegration):
|
||||
|
||||
# this part to get_workout_list
|
||||
workouts = self.get_workout_list(page=page)
|
||||
count = 0
|
||||
|
||||
for workout in workouts:
|
||||
c2id = workout['id']
|
||||
if workout['new'] == 'NEW':
|
||||
self.get_workout(c2id)
|
||||
count+= 1
|
||||
|
||||
return 1
|
||||
return count
|
||||
|
||||
# should be unified to workout list
|
||||
def get_workout_list(self, *args, **kwargs):
|
||||
|
||||
Reference in New Issue
Block a user