Changeset bed4f06 in OpenWorkouts-current for ow/tests/views
- Timestamp:
- Jan 29, 2019, 12:16:50 PM (5 years ago)
- Branches:
- current, feature/docs, master
- Children:
- 6dc1846
- Parents:
- 4bab6c1
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
ow/tests/views/test_user.py
r4bab6c1 rbed4f06 268 268 request = dummy_request 269 269 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 271 273 272 274 def test_login_get(self, dummy_request):
Note: See TracChangeset
for help on using the changeset viewer.