File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 22JSON API and Django Rest Framework
33==================================
44
5- .. image :: hhttps ://github.com/django-json-api/django-rest-framework-json-api/workflows/Tests/badge.svg
5+ .. image :: https ://github.com/django-json-api/django-rest-framework-json-api/workflows/Tests/badge.svg
66 :alt: Tests
77 :target: https://github.com/django-json-api/django-rest-framework-json-api/actions
88
Original file line number Diff line number Diff line change 1+ from datetime import datetime
12from unittest import mock
23
34import pytest
@@ -88,7 +89,7 @@ class Meta:
8889 [
8990 ("name" , "Some Blog" ),
9091 ("tags" , []),
91- ("copyright" , 2020 ),
92+ ("copyright" , datetime . now (). year ),
9293 ("url" , "http://testserver/blogs/1" ),
9394 ]
9495 ),
You can’t perform that action at this time.
0 commit comments