polar passing tests
This commit is contained in:
@@ -27,9 +27,6 @@ from rowingdata import rowingdata as rrdata
|
||||
|
||||
import rowers.uploads as uploads
|
||||
|
||||
import rowers.polarstuff as polarstuff
|
||||
|
||||
|
||||
from rowers.opaque import encoder
|
||||
from rowers.integrations import *
|
||||
from rowers.rower_rules import user_is_not_basic, user_is_coachee
|
||||
@@ -77,8 +74,9 @@ class Command(BaseCommand):
|
||||
def handle(self, *args, **options):
|
||||
# Polar
|
||||
try:
|
||||
polar_available = polarstuff.get_polar_notifications()
|
||||
_ = polarstuff.get_all_new_workouts(polar_available)
|
||||
polarintegration = PolarIntegration(None)
|
||||
|
||||
_ = polarintegration.get_workouts()
|
||||
except: # pragma: no cover
|
||||
exc_type, exc_value, exc_traceback = sys.exc_info()
|
||||
lines = traceback.format_exception(exc_type, exc_value, exc_traceback)
|
||||
|
||||
Reference in New Issue
Block a user