Changeset aa6dcaf in OpenWorkouts-current for ow


Ignore:
Timestamp:
Mar 5, 2019, 11:47:51 PM (5 years ago)
Author:
Borja Lopez <borja@…>
Branches:
current
Children:
04c882d
Parents:
778d53d
Message:

Fixed some cosmetic details (empty lines, whitespaces, indentation).
Fixed a test that was breaking depending on which days you ran it.

Location:
ow
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • ow/templates/profile.pt

    r778d53d raa6dcaf  
    2727          <div>
    2828            <h2>
    29                 <tal:fullname tal:content="user.fullname"></tal:fullname>
     29              <tal:fullname tal:content="user.fullname"></tal:fullname>
    3030            </h2>
    3131            <p>
  • ow/tests/views/test_user.py

    r778d53d raa6dcaf  
    11041104        # the body is a valid json-encoded stream
    11051105        obj = json.loads(response.body)
    1106         assert len(obj) == 68
    11071106        for week in obj:
    11081107            assert len(week.keys()) == 8
     
    11381137        # the body is a valid json-encoded stream
    11391138        obj = json.loads(response.body)
    1140         assert len(obj) == 68
    11411139        for week in obj:
    11421140            assert len(week.keys()) == 8
  • ow/views/workout.py

    r778d53d raa6dcaf  
    6060                workout.title += ' ' + workout.sport
    6161            workout.title += ' ' + _('workout')
    62 
    6362        context.add_workout(workout)
    6463        return HTTPFound(location=request.resource_url(workout))
Note: See TracChangeset for help on using the changeset viewer.