rojabo v2
This commit is contained in:
@@ -734,6 +734,9 @@ def mocked_requests(*args, **kwargs):
|
||||
with open('rowers/tests/testdata/c2_timezone.json','r') as infile:
|
||||
c2timezoneworkoutdata = json.load(infile)
|
||||
|
||||
with open('rowers/tests/testdata/rojabolist.json','r') as infile:
|
||||
rojabodata = json.load(infile)
|
||||
|
||||
with open('rowers/tests/testdata/c2_timezone2.json','r') as infile:
|
||||
c2timezoneworkoutdata2 = json.load(infile)
|
||||
|
||||
@@ -1045,6 +1048,9 @@ def mocked_requests(*args, **kwargs):
|
||||
|
||||
return MockResponse(jsonresponse,200)
|
||||
|
||||
if 'rojabo' in args[0]:
|
||||
return MockResponse(rojabodata, 200)
|
||||
|
||||
|
||||
polartester = re.compile(r'.*?polaraccesslink\.com')
|
||||
polarremotetester = re.compile(r'.*?polarremote\.com')
|
||||
|
||||
Reference in New Issue
Block a user