minor changes for python3

This commit is contained in:
Alex Seeholzer
2015-11-18 10:41:02 +01:00
parent aae2501cab
commit 71504aa85d
2 changed files with 3 additions and 2 deletions

View File

@ -29,7 +29,7 @@ class TestKBDisabled(TestCase):
self.assertRaises(NoReverseMatch, reverse, 'helpdesk_kb_index')
try:
response = self.client.get(reverse('helpdesk_dashboard'))
except NoReverseMatch, e:
except NoReverseMatch as e:
if 'helpdesk_kb_index' in e.message:
self.fail("Please verify any unchecked references to helpdesk_kb_index (start with navigation.html)")
else: