adding a test
This commit is contained in:
@@ -75,14 +75,16 @@ class NKIntegration(SyncIntegration):
|
||||
return 0
|
||||
|
||||
workouts = self.get_workout_list(before=before, after=after)
|
||||
|
||||
count = 0
|
||||
|
||||
for workout in workouts:
|
||||
nkid = workout['id']
|
||||
if workout['new'] == 'NEW':
|
||||
dologging('nklog.log','Queueing {id}'.format(id=nkid))
|
||||
self.get_workout(nkid, before=before, after=after)
|
||||
count += 1
|
||||
|
||||
return 1
|
||||
return count
|
||||
|
||||
|
||||
def get_workout(self, id, *args, **kwargs) -> int:
|
||||
|
||||
Reference in New Issue
Block a user