]> git.decadent.org.uk Git - dak.git/commitdiff
tests: dsc/4.dsc is invalid
authorAnsgar Burchardt <ansgar@debian.org>
Fri, 20 May 2011 17:01:54 +0000 (17:01 +0000)
committerAnsgar Burchardt <ansgar@debian.org>
Fri, 20 May 2011 17:08:29 +0000 (17:08 +0000)
The test for dsc/4.dsc should fail as it is not a valid armored OpenPGP
container.

Signed-off-by: Ansgar Burchardt <ansgar@debian.org>
tests/test_parse_changes.py

index 4f5ec72d0452ad92e4452c882b8f7eccecc5ccff..797ba99ccb9d403ab6623b88facaa06c2014e346 100755 (executable)
@@ -43,7 +43,7 @@ class ParseDscTestCase(ParseChangesTestCase):
 
     def test_4(self):
         # No blank lines at all
-        self.assertParse('dsc/4.dsc', 0, 1)
+        self.assertFails('dsc/4.dsc', 0, 1)
 
     def test_5(self):
         # Extra blank line before signature body