Skip to content
Commits on Source (4)
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@tiscali.it> Tue, 06 Aug 2019 17:30:35 +0000
satpy (0.16.1-1) unstable; urgency=medium
[ Bas Couwenberg ]
......
......@@ -3,7 +3,7 @@ Maintainer: Debian GIS Project <pkg-grass-devel@lists.alioth.debian.org>
Uploaders: Antonio Valentino <antonio.valentino@tiscali.it>
Section: python
Priority: optional
Build-Depends: debhelper (>= 12),
Build-Depends: debhelper-compat (= 12),
dh-python,
python3-all,
python3-behave,
......
From: Antonio Valentino <antonio.valentino@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."""
......@@ -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
---
Bug-Database: https://github.com/pytroll/satpy/issues
Bug-Submit: https://github.com/pytroll/satpy/issues/new
Contact: The Pytroll Team <pytroll@googlegroups.com>
Name: satpy
Repository: https://github.com/pytroll/satpy.git
Repository-Browse: https://github.com/pytroll/satpy