Hello community,
here is the log from the commit of package python-wsgi_intercept for
openSUSE:Factory checked in at 2015-05-19 23:43:40
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-wsgi_intercept (Old)
and /work/SRC/openSUSE:Factory/.python-wsgi_intercept.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-wsgi_intercept"
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-wsgi_intercept/python-wsgi_intercept.changes
2014-02-06 06:55:16.000000000 +0100
+++
/work/SRC/openSUSE:Factory/.python-wsgi_intercept.new/python-wsgi_intercept.changes
2015-05-19 23:43:41.000000000 +0200
@@ -1,0 +2,9 @@
+Thu May 14 14:50:24 UTC 2015 - [email protected]
+
+- update to version 0.10.0:
+ * no changelog available
+- refresh wsgi_intercept-disable-testbogusdomain.patch
+- update project URL
+- skip tests trying to access google.com with command line option
+
+-------------------------------------------------------------------
Old:
----
wsgi_intercept-0.6.1.tar.gz
New:
----
wsgi_intercept-0.10.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-wsgi_intercept.spec ++++++
--- /var/tmp/diff_new_pack.z4YeOL/_old 2015-05-19 23:43:42.000000000 +0200
+++ /var/tmp/diff_new_pack.z4YeOL/_new 2015-05-19 23:43:42.000000000 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-wsgi_intercept
#
-# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,12 +17,12 @@
Name: python-wsgi_intercept
-Version: 0.6.1
+Version: 0.10.0
Release: 0
Summary: Installs a WSGI application in place of a real URI for testing
License: MIT
Group: Development/Languages/Python
-Url: http://code.google.com/p/wsgi-intercept/
+Url: https://github.com/cdent/python3-wsgi-intercept
Source:
http://pypi.python.org/packages/source/w/wsgi_intercept/wsgi_intercept-%{version}.tar.gz
# PATCH-FIX-OPENSUSE [email protected] -- Patching fails
Patch0: wsgi_intercept-disable-testbogusdomain.patch
@@ -61,7 +61,8 @@
rm -rf %{buildroot}%{python_sitelib}/test
%check
-py.test build/
+# skip tests trying to access google.com
+py.test -k "not not_intercepted" build/
%files
%defattr(-,root,root,-)
++++++ wsgi_intercept-0.6.1.tar.gz -> wsgi_intercept-0.10.0.tar.gz ++++++
++++ 2118 lines of diff (skipped)
++++++ wsgi_intercept-disable-testbogusdomain.patch ++++++
--- /var/tmp/diff_new_pack.z4YeOL/_old 2015-05-19 23:43:42.000000000 +0200
+++ /var/tmp/diff_new_pack.z4YeOL/_new 2015-05-19 23:43:42.000000000 +0200
@@ -1,16 +1,16 @@
-diff -ruN a/test/test_httplib2.py b/test/test_httplib2.py
---- a/test/test_httplib2.py 2013-11-05 21:55:09.000000000 +0100
-+++ b/test/test_httplib2.py 2014-01-30 17:27:27.499618248 +0100
-@@ -28,12 +28,6 @@
- uninstall()
+--- wsgi_intercept-0.10.0.orig/test/test_httplib2.py
++++ wsgi_intercept-0.10.0/test/test_httplib2.py
+@@ -40,13 +40,6 @@ def test_http_other_port():
+ assert environ['wsgi.url_scheme'] == 'http'
-def test_bogus_domain():
-- install()
-- py.test.raises(gaierror,
+- with InstalledApp(wsgi_app.simple_app, host=HOST, port=80):
+- py.test.raises(
+- gaierror,
-
'httplib2_intercept.HTTP_WSGIInterceptorWithTimeout("_nonexistant_domain_").connect()')
-- uninstall()
-
-
- def test_https_success():
- install(443)
+-
+ def test_https():
+ with InstalledApp(wsgi_app.simple_app, host=HOST, port=443) as app:
+ http = httplib2.Http()