summaryrefslogtreecommitdiff
path: root/tests/modeladmin
diff options
context:
space:
mode:
authorAlasdair Nicol <alasdair@memset.com>2013-10-22 11:21:07 +0100
committerAlasdair Nicol <alasdair@memset.com>2013-10-23 13:45:03 +0100
commitc3aa2948c6c14862407501290571f858ccf45b07 (patch)
tree6f0812d7db0fe2f5a6bf9e07f20ba7d442ce8789 /tests/modeladmin
parent317040a73b77be8f8210801793b2ce6d1a69301e (diff)
Fixed #21298 -- Fixed E301 pep8 warnings
Diffstat (limited to 'tests/modeladmin')
-rw-r--r--tests/modeladmin/tests.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/modeladmin/tests.py b/tests/modeladmin/tests.py
index df77202704..9b273edb60 100644
--- a/tests/modeladmin/tests.py
+++ b/tests/modeladmin/tests.py
@@ -1029,8 +1029,10 @@ class ValidationTests(unittest.TestCase):
class AwesomeFilter(SimpleListFilter):
def get_title(self):
return 'awesomeness'
+
def get_choices(self, request):
return (('bit', 'A bit awesome'), ('very', 'Very awesome'), )
+
def get_queryset(self, cl, qs):
return qs