From 4de9caeac056ae00c1905d430a464ae63888e3dc Mon Sep 17 00:00:00 2001 From: Chris Lamb Date: Mon, 24 Aug 2015 14:59:09 +0200 Subject: [PATCH] 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 --- tests/test_parse_changes.py | 5 +++++ 1 file changed, 5 insertions(+) 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 -- 2.39.5