]> git.decadent.org.uk Git - dak.git/blobdiff - tests/test_parse_changes.py
tests/test_parse_changes.py: Actually set dsc_file=1 when testing .dsc
[dak.git] / tests / test_parse_changes.py
index 85a76948d193c5f4a8f4615eb71aa1fdc011236f..50301f42b69c1b08d13cc461d9b8c152a3983feb 100755 (executable)
@@ -20,7 +20,7 @@ class ParseChangesTestCase(DakTestCase):
             pass
         except GpgException:
             pass
-        except InvalidDscError, actual_line:
+        except InvalidDscError as actual_line:
             if line is not None:
                 assertEqual(actual_line, line)
 
@@ -46,7 +46,7 @@ class ParseDscTestCase(ParseChangesTestCase):
 
     def test_4(self):
         # No blank lines at all
-        self.assertFails('dsc/4.dsc', -1, 1)
+        self.assertFails('dsc/4.dsc', -1, 1, 1)
 
     def test_5(self):
         # Extra blank line before signature body