From cfe7789d6eb2b4b5ec7010246cf650388e7c294a Mon Sep 17 00:00:00 2001 From: Joerg Jaspert Date: Sat, 30 Jan 2010 15:09:25 +0100 Subject: [PATCH] Tell the testcases about the dsc thingie Signed-off-by: Joerg Jaspert --- tests/test_parse_changes.py | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/tests/test_parse_changes.py b/tests/test_parse_changes.py index 2de4b8a9..4f5ec72d 100755 --- a/tests/test_parse_changes.py +++ b/tests/test_parse_changes.py @@ -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.assertParse('dsc/2.dsc') + 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.assertParse('dsc/3.dsc') + self.assertParse('dsc/3.dsc', 0, 1) def test_4(self): # No blank lines at all - self.assertParse('dsc/4.dsc') + self.assertParse('dsc/4.dsc', 0, 1) def test_5(self): # Extra blank line before signature body - self.assertParse('dsc/5.dsc') + self.assertParse('dsc/5.dsc', 0, 1) def test_6(self): # Extra blank line after signature header - self.assertParse('dsc/6.dsc') + self.assertParse('dsc/6.dsc', 0, 1) class ParseChangesTestCase(ParseChangesTestCase): def test_1(self): -- 2.39.2