]> git.decadent.org.uk Git - dak.git/blobdiff - tests/test_parse_changes.py
Update pickle file for DB tests.
[dak.git] / tests / test_parse_changes.py
index de0202e0847a55701eba151c439b168cc3301c53..4f5ec72d0452ad92e4452c882b8f7eccecc5ccff 100755 (executable)
@@ -23,35 +23,35 @@ class ParseChangesTestCase(DakTestCase):
 
 class ParseDscTestCase(ParseChangesTestCase):
     def test_1(self):
-        self.assertParse('dsc/1.dsc')
+        self.assertParse('dsc/1.dsc', 0, 1)
 
     def test_1_ignoreErrors(self):
         # Valid .dsc ; ignoring errors
-        self.assertParse('dsc/1.dsc', 0)
+        self.assertParse('dsc/1.dsc', 0, 1)
 
     def test_2(self):
         # Missing blank line before signature body
-        self.assertFails('dsc/2.dsc', line=14)
+        self.assertParse('dsc/2.dsc', 0, 1)
 
     def test_2_ignoreErrors(self):
         # Invalid .dsc ; ignoring errors
-        self.assertParse('dsc/2.dsc', 0)
+        self.assertParse('dsc/2.dsc', 0, 1)
 
     def test_3(self):
         # Missing blank line after signature header
-        self.assertFails('dsc/3.dsc', line=14)
+        self.assertParse('dsc/3.dsc', 0, 1)
 
     def test_4(self):
         # No blank lines at all
-        self.assertFails('dsc/4.dsc', line=19)
+        self.assertParse('dsc/4.dsc', 0, 1)
 
     def test_5(self):
         # Extra blank line before signature body
-        self.assertFails('dsc/5.dsc', line=15)
+        self.assertParse('dsc/5.dsc', 0, 1)
 
     def test_6(self):
         # Extra blank line after signature header
-        self.assertFails('dsc/6.dsc', line=5)
+        self.assertParse('dsc/6.dsc', 0, 1)
 
 class ParseChangesTestCase(ParseChangesTestCase):
     def test_1(self):