aboutsummaryrefslogtreecommitdiffstats
path: root/tests/test_description.py
diff options
context:
space:
mode:
authorJosé Padilla2014-09-05 15:58:42 -0700
committerJosé Padilla2014-09-05 15:58:42 -0700
commit3e20b0110cc30c112906cc473e04e837737ff4f5 (patch)
treea6b2174275220c02492fcfcc12443280912a2bf6 /tests/test_description.py
parentd44a8f24ff56d65705580f9c2373175c93c2f4d8 (diff)
downloaddjango-rest-framework-3e20b0110cc30c112906cc473e04e837737ff4f5.tar.bz2
Fix linting issues
Diffstat (limited to 'tests/test_description.py')
-rw-r--r--tests/test_description.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/test_description.py b/tests/test_description.py
index 25bee19b..1208ce54 100644
--- a/tests/test_description.py
+++ b/tests/test_description.py
@@ -110,8 +110,10 @@ class TestViewNamesAndDescriptions(TestCase):
class MockLazyStr(object):
def __init__(self, string):
self.s = string
+
def __str__(self):
return self.s
+
def __unicode__(self):
return self.s