[python-pdal] 05/06: Drop skip-tests-for-missing-data.patch, applied upstream.

Bas Couwenberg sebastic at debian.org
Fri Apr 7 10:54:59 UTC 2017


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

sebastic pushed a commit to branch master
in repository python-pdal.

commit bf38d8ebcf16347145f6bfffbd76eebe94199f26
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date:   Fri Apr 7 11:28:28 2017 +0200

    Drop skip-tests-for-missing-data.patch, applied upstream.
---
 debian/changelog                                 |  1 +
 debian/patches/series                            |  1 -
 debian/patches/skip-tests-for-missing-data.patch | 68 ------------------------
 3 files changed, 1 insertion(+), 69 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 3e1a046..769b4eb 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,7 @@ python-pdal (1.5.0+ds-1) UNRELEASED; urgency=medium
 
   * New upstream release.
   * Require at least PDAL 1.5.0.
+  * Drop skip-tests-for-missing-data.patch, applied upstream.
 
  -- Bas Couwenberg <sebastic at debian.org>  Fri, 07 Apr 2017 11:19:48 +0200
 
diff --git a/debian/patches/series b/debian/patches/series
deleted file mode 100644
index 691a82a..0000000
--- a/debian/patches/series
+++ /dev/null
@@ -1 +0,0 @@
-skip-tests-for-missing-data.patch
diff --git a/debian/patches/skip-tests-for-missing-data.patch b/debian/patches/skip-tests-for-missing-data.patch
deleted file mode 100644
index 1aa3985..0000000
--- a/debian/patches/skip-tests-for-missing-data.patch
+++ /dev/null
@@ -1,68 +0,0 @@
-Description: Skip tests for missing test data.
-Author: Bas Couwenberg <sebastic at debian.org>
-Forwarded: https://github.com/PDAL/PDAL/pull/1445
-
---- a/test/test_pipeline.py
-+++ b/test/test_pipeline.py
-@@ -32,14 +32,14 @@ class TestPipeline(unittest.TestCase):
-         return output
- 
-     @unittest.skipUnless(os.path.exists(os.path.join(DATADIRECTORY, 'data/pipeline/sort.json')),
--                         os.path.join(DATADIRECTORY, 'data/pipeline/sort.json'))
-+                         "missing test data")
-     def test_construction(self):
-         """Can we construct a PDAL pipeline"""
-         json = self.fetch_json('/data/pipeline/sort.json')
-         r = pdal.Pipeline(json)
- 
-     @unittest.skipUnless(os.path.exists(os.path.join(DATADIRECTORY, 'data/pipeline/sort.json')),
--                           "missing test data")
-+                         "missing test data")
-     def test_execution(self):
-         """Can we execute a PDAL pipeline"""
-         x = self.fetch_json('/data/pipeline/sort.json')
-@@ -67,6 +67,8 @@ class TestPipeline(unittest.TestCase):
-         self.assertAlmostEqual(a[0][0], 635619.85, 7)
-         self.assertAlmostEqual(a[1064][2], 456.92, 7)
- 
-+    @unittest.skipUnless(os.path.exists(os.path.join(DATADIRECTORY, 'data/pipeline/sort.json')),
-+                         "missing test data")
-     def test_metadata(self):
-         """Can we fetch PDAL metadata"""
-         json = self.fetch_json('/data/pipeline/sort.json')
-@@ -78,6 +80,8 @@ class TestPipeline(unittest.TestCase):
-         self.assertEqual(j["metadata"]["readers.las"]["count"], 1065)
- 
- 
-+    @unittest.skipUnless(os.path.exists(os.path.join(DATADIRECTORY, 'data/pipeline/sort.json')),
-+                         "missing test data")
-     def test_no_execute(self):
-         """Does fetching arrays without executing throw an exception"""
-         json = self.fetch_json('/data/pipeline/sort.json')
-@@ -85,6 +89,8 @@ class TestPipeline(unittest.TestCase):
-         with self.assertRaises(RuntimeError):
-             r.arrays
- 
-+    @unittest.skipUnless(os.path.exists(os.path.join(DATADIRECTORY, 'data/pipeline/reproject.json')),
-+                         "missing test data")
-     def test_logging(self):
-         """Can we fetch log output"""
-         json = self.fetch_json('/data/pipeline/reproject.json')
-@@ -94,6 +100,8 @@ class TestPipeline(unittest.TestCase):
-         self.assertEqual(count, 789)
-         self.assertEqual(r.log.split()[0], '(pypipeline')
- 
-+    @unittest.skipUnless(os.path.exists(os.path.join(DATADIRECTORY, 'data/pipeline/sort.json')),
-+                         "missing test data")
-     def test_schema(self):
-         """Fetching a schema works"""
-         json = self.fetch_json('/data/pipeline/sort.json')
-@@ -102,7 +110,7 @@ class TestPipeline(unittest.TestCase):
-         self.assertEqual(r.schema['schema']['dimensions'][0]['name'], 'X')
- 
-     @unittest.skipUnless(os.path.exists(os.path.join(DATADIRECTORY, 'data/filters/chip.json')),
--                           "missing test data")
-+                         "missing test data")
-     def test_merged_arrays(self):
-         """Can we fetch multiple point views from merged PDAL data """
-         json = self.fetch_json('/data/filters/chip.json')

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/python-pdal.git



More information about the Pkg-grass-devel mailing list