[mapproxy] 24/28: Refresh patches.

Bas Couwenberg sebastic at debian.org
Wed Jul 27 00:32:59 UTC 2016


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

sebastic pushed a commit to branch master
in repository mapproxy.

commit 2d152c2986d07669544c1fad47bc399f47695162
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date:   Tue Jul 26 19:11:27 2016 +0200

    Refresh patches.
---
 debian/patches/offline-tests.patch | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/debian/patches/offline-tests.patch b/debian/patches/offline-tests.patch
index cf7550e..3d08815 100644
--- a/debian/patches/offline-tests.patch
+++ b/debian/patches/offline-tests.patch
@@ -185,10 +185,10 @@ Author: Bas Couwenberg <sebastic at debian.org>
 +        if 'OFFLINE_TESTS' in os.environ:
 +            raise SkipTest
 +
-         test_req = ({'path': '/', 'req_assert_function': lambda x: time.sleep(0.5) or True},
+         test_req = ({'path': '/', 'req_assert_function': lambda x: time.sleep(0.9) or True},
                      {'body': b'nothing'})
  
-@@ -214,6 +235,9 @@ class TestTMSClient(object):
+@@ -209,6 +230,9 @@ class TestTMSClient(object):
      def setup(self):
          self.client = TMSClient(TESTSERVER_URL)
      def test_get_tile(self):
@@ -198,7 +198,7 @@ Author: Bas Couwenberg <sebastic at debian.org>
          with mock_httpd(TESTSERVER_ADDRESS, [({'path': '/9/5/13.png'},
                                                  {'body': b'tile', 'headers': {'content-type': 'image/png'}})]):
              resp = self.client.get_tile((5, 13, 9)).source.read()
-@@ -221,6 +245,9 @@ class TestTMSClient(object):
+@@ -216,6 +240,9 @@ class TestTMSClient(object):
  
  class TestTileClient(object):
      def test_tc_path(self):
@@ -208,7 +208,7 @@ Author: Bas Couwenberg <sebastic at debian.org>
          template = TileURLTemplate(TESTSERVER_URL + '/%(tc_path)s.png')
          client = TileClient(template)
          with mock_httpd(TESTSERVER_ADDRESS, [({'path': '/09/000/000/005/000/000/013.png'},
-@@ -230,6 +257,9 @@ class TestTileClient(object):
+@@ -225,6 +252,9 @@ class TestTileClient(object):
              eq_(resp, b'tile')
  
      def test_quadkey(self):
@@ -218,7 +218,7 @@ Author: Bas Couwenberg <sebastic at debian.org>
          template = TileURLTemplate(TESTSERVER_URL + '/key=%(quadkey)s&format=%(format)s')
          client = TileClient(template)
          with mock_httpd(TESTSERVER_ADDRESS, [({'path': '/key=000002303&format=png'},
-@@ -238,6 +268,9 @@ class TestTileClient(object):
+@@ -233,6 +263,9 @@ class TestTileClient(object):
              resp = client.get_tile((5, 13, 9)).source.read()
              eq_(resp, b'tile')
      def test_xyz(self):
@@ -228,7 +228,7 @@ Author: Bas Couwenberg <sebastic at debian.org>
          template = TileURLTemplate(TESTSERVER_URL + '/x=%(x)s&y=%(y)s&z=%(z)s&format=%(format)s')
          client = TileClient(template)
          with mock_httpd(TESTSERVER_ADDRESS, [({'path': '/x=5&y=13&z=9&format=png'},
-@@ -247,6 +280,9 @@ class TestTileClient(object):
+@@ -242,6 +275,9 @@ class TestTileClient(object):
              eq_(resp, b'tile')
  
      def test_arcgiscache_path(self):
@@ -238,7 +238,7 @@ Author: Bas Couwenberg <sebastic at debian.org>
          template = TileURLTemplate(TESTSERVER_URL + '/%(arcgiscache_path)s.png')
          client = TileClient(template)
          with mock_httpd(TESTSERVER_ADDRESS, [({'path': '/L09/R0000000d/C00000005.png'},
-@@ -256,6 +292,9 @@ class TestTileClient(object):
+@@ -251,6 +287,9 @@ class TestTileClient(object):
              eq_(resp, b'tile')
  
      def test_bbox(self):

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



More information about the Pkg-grass-devel mailing list