Skip to content

Commit

Permalink
fixe flake8
Browse files Browse the repository at this point in the history
  • Loading branch information
khaledboka committed Apr 15, 2020
1 parent 931b91d commit c4ee8f2
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions cartoview/tests/test_template_tags.py
Expand Up @@ -2,6 +2,7 @@
from django.http import HttpRequest
from django.template import Context, Template
from django.test.testcases import TestCase

from geonode.people.models import Profile


Expand Down Expand Up @@ -32,10 +33,8 @@ def test_template_tags(self):
"request": req}
)
self.assertEqual(
rendered,
u'{u'raster': 0, u'vector': 0, u'remote': 0, \
u'document': 0, u'map': 0}'
)
rendered, u'{u'raster': 0, u'vector': 0, u'' + # noqa
'remote': 0, u'document': 0, u'map': 0}')
self.assertRaises(
template.TemplateSyntaxError,
self.render_template,
Expand Down

0 comments on commit c4ee8f2

Please sign in to comment.