Changeset 22eb5de in OpenWorkouts-current for ow/tests/views/test_user.py


Ignore:
Timestamp:
Jan 29, 2019, 12:58:08 PM (5 years ago)
Author:
Segundo Fdez <segun.2@…>
Branches:
current, feature/docs, master
Children:
594fbe8
Parents:
3e48af6 (diff), ed7e9d7 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge branch 'master' into feature/ui

# Conflicts:
# ow/static/js/ow.js

File:
1 edited

Legend:

Unmodified
Added
Removed
  • ow/tests/views/test_user.py

    r3e48af6 r22eb5de  
    268268        request = dummy_request
    269269        response = user_views.profile(john, request)
    270         assert response == {}
     270        assert len(response.keys()) == 1
     271        current_month = datetime.now(timezone.utc).strftime('%Y-%m')
     272        assert response['current_month'] == current_month
    271273
    272274    def test_login_get(self, dummy_request):
Note: See TracChangeset for help on using the changeset viewer.