Commit 4e03e0ac authored by Michal Čihař's avatar Michal Čihař

PEP-8 fixes (issue #471)

Signed-off-by: default avatarMichal Čihař <michal@cihar.com>
parent 301a5922
......@@ -94,4 +94,4 @@ LOGGING = {
}
# Use whiteboard in tests
ENABLE_WHITEBOARD = True
\ No newline at end of file
ENABLE_WHITEBOARD = True
......@@ -41,6 +41,7 @@ from weblate.trans.models.unitdata import Suggestion
from weblate.trans.tests.test_models import RepoTestCase
from weblate.accounts.models import Profile
class ViewTestCase(RepoTestCase):
def setUp(self):
super(ViewTestCase, self).setUp()
......@@ -1251,4 +1252,4 @@ class HomeViewTest(ViewTestCase):
def test_home_without_whiteboard(self):
appsettings.ENABLE_WHITEBOARD = False
response = self.client.get(reverse('home'))
self.assertNotContains(response, 'Whiteboard')
\ No newline at end of file
self.assertNotContains(response, 'Whiteboard')
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