passing tests
This commit is contained in:
@@ -111,13 +111,13 @@
|
|||||||
{% if workout.user.user == user or user == team.manager %}
|
{% if workout.user.user == user or user == team.manager %}
|
||||||
{% if workout.name != '' %}
|
{% if workout.name != '' %}
|
||||||
<td>
|
<td>
|
||||||
<a href={% url rower.defaultlandingpage id=workout.id %}>
|
<a href={% url rower.defaultlandingpage id=workout.id|encode %}>
|
||||||
{{ workout.name }}
|
{{ workout.name }}
|
||||||
</a>
|
</a>
|
||||||
</td>
|
</td>
|
||||||
{% else %}
|
{% else %}
|
||||||
<td>
|
<td>
|
||||||
<a href={% url rower.defaultlandingpage id=workout.id %}>No Name
|
<a href={% url rower.defaultlandingpage id=workout.id|encode %}>No Name
|
||||||
</a></td>
|
</a></td>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
|||||||
@@ -71,12 +71,13 @@ class ViewTest(TestCase):
|
|||||||
self.assertEqual(response.status_code, 200)
|
self.assertEqual(response.status_code, 200)
|
||||||
|
|
||||||
|
|
||||||
response = self.c.get('/rowers/workout/'+encoded1+'/workflow/',
|
|
||||||
self.assertEqual(response.status_code, 200)
|
|
||||||
|
|
||||||
response = self.c.get('/rowers/workout/'+encoded1+'/workflow/',
|
response = self.c.get('/rowers/workout/'+encoded1+'/workflow/',
|
||||||
follow=True)
|
follow=True)
|
||||||
|
|
||||||
|
self.assertEqual(response.status_code, 200)
|
||||||
|
|
||||||
response = self.c.get('/rowers/workout/'+encoded1+'/get-thumbnails/',
|
response = self.c.get('/rowers/workout/'+encoded1+'/get-thumbnails/',
|
||||||
follow=True)
|
follow=True)
|
||||||
|
|
||||||
|
|||||||
BIN
rowers/tests/testdata/testdata.csv.gz
vendored
BIN
rowers/tests/testdata/testdata.csv.gz
vendored
Binary file not shown.
6
rowers/tests/testdata/testdata.tcx
vendored
6
rowers/tests/testdata/testdata.tcx
vendored
@@ -2502,11 +2502,7 @@
|
|||||||
</Trackpoint>
|
</Trackpoint>
|
||||||
</Track>
|
</Track>
|
||||||
</Lap>
|
</Lap>
|
||||||
<<<<<<< HEAD
|
<Notes><Element 'Notes' at 0x157a2e48></Notes>
|
||||||
<Notes><Element 'Notes' at 0x12e40c18></Notes>
|
|
||||||
=======
|
|
||||||
<Notes><Element 'Notes' at 0x13918240></Notes>
|
|
||||||
>>>>>>> develop
|
|
||||||
</Activity>
|
</Activity>
|
||||||
</Activities>
|
</Activities>
|
||||||
<Creator>
|
<Creator>
|
||||||
|
|||||||
Reference in New Issue
Block a user