[Git][debian-gis-team/satpy][master] 4 commits: Fix test_gaclacfile
Antonio Valentino
gitlab at salsa.debian.org
Tue Aug 6 19:34:40 BST 2019
Antonio Valentino pushed to branch master at Debian GIS Project / satpy
Commits:
56380466 by Antonio Valentino at 2019-08-06T17:22:57Z
Fix test_gaclacfile
- - - - -
61659266 by Antonio Valentino at 2019-08-06T17:25:06Z
Use debhelper-compat instead of debian/compat
- - - - -
fe40fb2f by Antonio Valentino at 2019-08-06T17:29:53Z
Set upstream metadata fields: Contact.
- - - - -
828c14f1 by Antonio Valentino at 2019-08-06T17:30:59Z
Set distribution to unstable
- - - - -
6 changed files:
- debian/changelog
- − debian/compat
- debian/control
- + debian/patches/0005-Fix-test_gaclacfile.patch
- debian/patches/series
- debian/upstream/metadata
Changes:
=====================================
debian/changelog
=====================================
@@ -1,3 +1,12 @@
+satpy (0.16.1-2) unstable; urgency=medium
+
+ * Use debhelper-compat instead of debian/compat.
+ * Set upstream metadata fields: Contact.
+ * debian/patches:
+ - new 0005-Fix-test_gaclacfile.patch (Closes: #933536)
+
+ -- Antonio Valentino <antonio.valentino at tiscali.it> Tue, 06 Aug 2019 17:30:35 +0000
+
satpy (0.16.1-1) unstable; urgency=medium
[ Bas Couwenberg ]
=====================================
debian/compat deleted
=====================================
@@ -1 +0,0 @@
-12
=====================================
debian/control
=====================================
@@ -3,7 +3,7 @@ Maintainer: Debian GIS Project <pkg-grass-devel at lists.alioth.debian.org>
Uploaders: Antonio Valentino <antonio.valentino at tiscali.it>
Section: python
Priority: optional
-Build-Depends: debhelper (>= 12),
+Build-Depends: debhelper-compat (= 12),
dh-python,
python3-all,
python3-behave,
=====================================
debian/patches/0005-Fix-test_gaclacfile.patch
=====================================
@@ -0,0 +1,34 @@
+From: Antonio Valentino <antonio.valentino at tiscali.it>
+Date: Tue, 6 Aug 2019 19:14:13 +0200
+Subject: Fix test_gaclacfile
+
+---
+ satpy/tests/reader_tests/test_avhrr_l1b_gaclac.py | 12 ++++++++++++
+ 1 file changed, 12 insertions(+)
+
+diff --git a/satpy/tests/reader_tests/test_avhrr_l1b_gaclac.py b/satpy/tests/reader_tests/test_avhrr_l1b_gaclac.py
+index a1253ff..cf2c1fb 100644
+--- a/satpy/tests/reader_tests/test_avhrr_l1b_gaclac.py
++++ b/satpy/tests/reader_tests/test_avhrr_l1b_gaclac.py
+@@ -54,9 +54,21 @@ class TestGACLACFile(TestCase):
+ self.module_patcher = mock.patch.dict('sys.modules', modules)
+ self.module_patcher.start()
+
++ self.gacklmreader_patcher = mock.patch(
++ 'satpy.readers.avhrr_l1b_gaclac.GACKLMReader',
++ new=self.pygac.gac_klm.GACKLMReader)
++ self.gacklmreader_patcher.start()
++
++ self.gacpodreader_patcher = mock.patch(
++ 'satpy.readers.avhrr_l1b_gaclac.GACPODReader',
++ new=self.pygac.gac_pod.GACPODReader)
++ self.gacpodreader_patcher.start()
++
+ def tearDown(self):
+ """Unpatch the pygac imports."""
+ self.module_patcher.stop()
++ self.gacklmreader_patcher.stop()
++ self.gacpodreader_patcher.stop()
+
+ def test_gaclacfile(self):
+ """Test the methods of the GACLACFile class."""
=====================================
debian/patches/series
=====================================
@@ -2,3 +2,4 @@
0002-Fix-compat-with-old-xarray-and-dask-versions.patch
0003-Explicitly-set-chunks-in-dask-arrays.patch
0004-Disable-tests-on-the-number-of-calls-to-ll2cr.patch
+0005-Fix-test_gaclacfile.patch
=====================================
debian/upstream/metadata
=====================================
@@ -1,6 +1,6 @@
----
Bug-Database: https://github.com/pytroll/satpy/issues
Bug-Submit: https://github.com/pytroll/satpy/issues/new
+Contact: The Pytroll Team <pytroll at googlegroups.com>
Name: satpy
Repository: https://github.com/pytroll/satpy.git
Repository-Browse: https://github.com/pytroll/satpy
View it on GitLab: https://salsa.debian.org/debian-gis-team/satpy/compare/4eb9d89761b98666462f7c9fdeb28affe01d665d...828c14f16b8394c161c7a265c9c55029c2386aeb
--
View it on GitLab: https://salsa.debian.org/debian-gis-team/satpy/compare/4eb9d89761b98666462f7c9fdeb28affe01d665d...828c14f16b8394c161c7a265c9c55029c2386aeb
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-grass-devel/attachments/20190806/895a2984/attachment-0001.html>
More information about the Pkg-grass-devel
mailing list