Skip to content

Commit 0d2ba3e

Browse files
authored
Merge branch 'master' into pyup-scheduled-update-2020-12-21
2 parents c4bf6b1 + 11368ca commit 0d2ba3e

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
JSON 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

example/tests/test_serializers.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
from datetime import datetime
12
from unittest import mock
23

34
import 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
),

0 commit comments

Comments
 (0)