Commit 5b127214 authored by Michal Čihař's avatar Michal Čihař

Wrap long lines

Signed-off-by: default avatarMichal Čihař <michal@cihar.com>
parent b4445f9f
......@@ -33,14 +33,16 @@ class LoadClassTest(TestCase):
def test_invalid_name(self):
self.assertRaisesRegexp(
ImproperlyConfigured,
'Error importing class unittest in TEST: .*"(not enough|need more than)',
'Error importing class unittest in TEST: .*"'
'(not enough|need more than)',
load_class, 'unittest', 'TEST'
)
def test_invalid_module(self):
self.assertRaisesRegexp(
ImproperlyConfigured,
'weblate.trans.tests.missing in TEST: "No module named .*missing["\']',
'weblate.trans.tests.missing in TEST: "'
'No module named .*missing["\']',
load_class, 'weblate.trans.tests.missing.Foo', 'TEST'
)
......
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