From: Chris Lamb Date: Mon, 24 Aug 2015 12:59:09 +0000 (+0200) Subject: tests/test_parse_changes.py: Actually use the blank file test fixture X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;h=4de9caeac056ae00c1905d430a464ae63888e3dc;p=dak.git tests/test_parse_changes.py: Actually use the blank file test fixture Was added in 47955ee9a5730c81b21ca9f31da4c176a82bcdc4 but never actually used. Signed-off-by: Chris Lamb --- diff --git a/tests/test_parse_changes.py b/tests/test_parse_changes.py index 2a66f832..5f6d49ab 100755 --- a/tests/test_parse_changes.py +++ b/tests/test_parse_changes.py @@ -45,6 +45,11 @@ class ParseDscTestCase(ParseChangesTestCase): # Extra blank line after signature header self.assertParse('dsc/6.dsc', -1, 1) + def test_7(self): + # Blank file is an invalid armored GPG file + with self.assertRaises(GpgException): + self.assertParse('dsc/7.dsc', -1, 1) + class ParseChangesTestCase(ParseChangesTestCase): def test_1(self): # Empty changes