Commit 1ecae4e5 authored by Jitka Novotna's avatar Jitka Novotna

pylint

parent 66820c89
...@@ -21,7 +21,6 @@ ...@@ -21,7 +21,6 @@
"""Components list.""" """Components list."""
from django.db import models from django.db import models
from django.core.exceptions import ValidationError
from django.utils.encoding import python_2_unicode_compatible from django.utils.encoding import python_2_unicode_compatible
from django.utils.translation import ugettext_lazy as _ from django.utils.translation import ugettext_lazy as _
......
...@@ -401,8 +401,8 @@ class HomeViewTest(ViewTestCase): ...@@ -401,8 +401,8 @@ class HomeViewTest(ViewTestCase):
self.assertNotContains(response, 'whiteboard') self.assertNotContains(response, 'whiteboard')
def test_component_list(self): def test_component_list(self):
cl = ComponentList(name="TestCL", slug="testcl") clist = ComponentList(name="TestCL", slug="testcl")
cl.save() clist.save()
response = self.client.get(reverse('home')) response = self.client.get(reverse('home'))
self.assertContains(response, 'TestCL') self.assertContains(response, 'TestCL')
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment