[Python-modules-commits] [python-pgpdump] 01/07: remove broken test, the test data is missing from tarball

Hans-Christoph Steiner eighthave at moszumanska.debian.org
Sat Sep 24 11:28:35 UTC 2016


This is an automated email from the git hooks/post-receive script.

eighthave pushed a commit to branch master
in repository python-pgpdump.

commit a1a6c915d0b8776d78653b8de8371645640a06b5
Author: Hans-Christoph Steiner <hans at eds.org>
Date:   Sat Sep 24 11:36:23 2016 +0200

    remove broken test, the test data is missing from tarball
---
 debian/patches/remove-test-with-missing-file.patch | 19 +++++++++++++++++++
 debian/patches/series                              |  1 +
 2 files changed, 20 insertions(+)

diff --git a/debian/patches/remove-test-with-missing-file.patch b/debian/patches/remove-test-with-missing-file.patch
new file mode 100644
index 0000000..61ba7c5
--- /dev/null
+++ b/debian/patches/remove-test-with-missing-file.patch
@@ -0,0 +1,19 @@
+--- a/pgpdump/test.py
++++ b/pgpdump/test.py
+@@ -427,16 +427,6 @@
+         self.assertEqual(1, session_key.raw_pub_algorithm)
+         self.assertEqual("RSA Encrypt or Sign", session_key.pub_algorithm)
+ 
+-    def test_parse_partial_length(self):
+-        '''This file contains an encrypted message with a Partial Body Length header
+-           Reference: http://tools.ietf.org/html/rfc4880#section-4.2.2.4
+-        '''
+-
+-        rawdata = self.load_data('partial_length.gpg')
+-        data = BinaryData(rawdata)
+-        packets = list(data.packets())
+-        self.assertEqual(2, len(packets))
+-
+ 
+ class PacketTestCase(TestCase):
+     def test_lookup_type(self):
diff --git a/debian/patches/series b/debian/patches/series
index acb7276..2134752 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
 add_tests_to_setup_py.patch
+remove-test-with-missing-file.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/python-pgpdump.git



More information about the Python-modules-commits mailing list