[python-osmapi] 04/05: Refresh patches.
Bas Couwenberg
sebastic at debian.org
Thu Sep 7 08:33:30 UTC 2017
This is an automated email from the git hooks/post-receive script.
sebastic pushed a commit to branch master
in repository python-osmapi.
commit 074313a335dbb04017ba7fd6e06a2e2ff257583b
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date: Thu Sep 7 10:16:13 2017 +0200
Refresh patches.
---
debian/changelog | 1 +
debian/patches/offline-tests.patch | 7 ++++---
2 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index fda4956..3ea6816 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,7 @@
python-osmapi (1.0.1-1) UNRELEASED; urgency=medium
* New upstream release.
+ * Refresh patches.
-- Bas Couwenberg <sebastic at debian.org> Thu, 07 Sep 2017 10:00:11 +0200
diff --git a/debian/patches/offline-tests.patch b/debian/patches/offline-tests.patch
index b7db37d..9ec0806 100644
--- a/debian/patches/offline-tests.patch
+++ b/debian/patches/offline-tests.patch
@@ -4,20 +4,21 @@ Bug: https://github.com/metaodi/osmapi/issues/80
--- a/tests/functional_tests.py
+++ b/tests/functional_tests.py
-@@ -1,11 +1,16 @@
+@@ -1,11 +1,17 @@
import httpretty
import unittest
import osmapi
+import os
-
++
+from nose.plugins.skip import SkipTest
+
class TestOsmApiFunctional(unittest.TestCase):
@httpretty.activate
def test_deleted_element_raises_exception(self):
+ if 'OFFLINE_TESTS' in os.environ:
+ raise SkipTest
+
+ httpretty.HTTPretty.allow_net_connect = False
httpretty.register_uri(
httpretty.GET,
- "https://www.openstreetmap.org/api/0.6/relation/2911456/full",
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/python-osmapi.git
More information about the Pkg-grass-devel
mailing list