passing all but one test
This commit is contained in:
@@ -219,7 +219,7 @@ class URLTests(TestCase):
|
||||
'/rowers/workout/'+encoded1+'/stats/',
|
||||
'/rowers/workout/'+encoded1+'/stream/',
|
||||
# '/rowers/workout/'+encoded1+'/task/',
|
||||
'/rowers/workout/'+encoded1+'/teststrokedata/',
|
||||
# '/rowers/workout/'+encoded1+'/teststrokedata/',
|
||||
'/rowers/workout/'+encoded1+'/toggle-ranking/',
|
||||
'/rowers/workout/'+encoded1+'/undosmoothenpace/',
|
||||
'/rowers/workout/'+encoded1+'/unsubscribe/',
|
||||
@@ -270,6 +270,10 @@ class URLTests(TestCase):
|
||||
expected)
|
||||
|
||||
html = BeautifulSoup(response.content,'html.parser')
|
||||
|
||||
if 'restore' in url:
|
||||
print html.find_all('a')
|
||||
|
||||
urls = [a['href'] for a in html.find_all('a')]
|
||||
|
||||
for u in urls:
|
||||
|
||||
Reference in New Issue
Block a user