commit python-requests-mock for openSUSE:Factory
Hello community, here is the log from the commit of package python-requests-mock for openSUSE:Factory checked in at 2020-06-21 18:50:56 Comparing /work/SRC/openSUSE:Factory/python-requests-mock (Old) and /work/SRC/openSUSE:Factory/.python-requests-mock.new.3606 (New) Package is "python-requests-mock" Sun Jun 21 18:50:56 2020 rev:14 rq:814547 version:1.8.0 Changes: --- /work/SRC/openSUSE:Factory/python-requests-mock/python-requests-mock.changes 2019-09-23 12:17:09.929809159 +0200 +++ /work/SRC/openSUSE:Factory/.python-requests-mock.new.3606/python-requests-mock.changes 2020-06-21 19:06:14.312974279 +0200 @@ -1,0 +2,30 @@ +Sun Jun 14 09:11:15 UTC 2020 - Dirk Mueller + +- update to 1.8.0: + * Remove requests 2.3 compatibility code + * Add release notes for reset function + * Add release note for session scoped mock + * Allow passing session as postiional argument + * Create bound method instead of a wrapper + * Added reset\_mock to \_RequestHistoryTracker and Adapter (#139) + * doc on session Mockers + * doc on nesting Mockers + * fix README.rst typo + * suggest Mocker for users unfamiliar with adapters + * update examples to mount adapter on 'mock://' + * fix global/session mock interactions and real\_http + * Added installation instructions + * Add release note for nested mocking + * fix redirects (#105) and mock nesting (#116) + * Mark IOReader object closed when using a stream + * Add the default response reason if not set + * Don't check that proxies are set in test + * Add StackOverflow tag to README + * Mention pytest fixture on the README + * Add background information to pytest doc + * docs: update examples to match Read the Docs + * Expose real\_http as a public property + * fix py27 error + * easier session scoped mock + +--- Old: requests-mock-1.7.0.tar.gz New: requests-mock-1.8.0.tar.gz Other differences: -- ++ python-requests-mock.spec ++ --- /var/tmp/diff_new_pack.pfe2zY/_old 2020-06-21 19:06:14.732975643 +0200 +++ /var/tmp/diff_new_pack.pfe2zY/_new 2020-06-21 19:06:14.732975643 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-requests-mock # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,7 +18,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-requests-mock -Version:1.7.0 +Version:1.8.0 Release:0 Summary:Module to mock out responses from the requests package License:Apache-2.0 ++ requests-mock-1.7.0.tar.gz -> requests-mock-1.8.0.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/requests-mock-1.7.0/AUTHORS new/requests-mock-1.8.0/AUTHORS --- old/requests-mock-1.7.0/AUTHORS 2019-09-01 09:48:16.0 +0200 +++ new/requests-mock-1.8.0/AUTHORS 2020-05-02 15:10:52.0 +0200 @@ -1,5 +1,7 @@ Alex Peters Andreas Jaeger +Arjan Keeman +Colas Le Guernic Darragh Bailey David Kremer Ian Cordasco @@ -15,10 +17,14 @@ Monty Taylor Noam Rick van de Loo +Ryan Brooke Payne Sebastian Kalinowski +Simon Willison Swapnil Kulkarni (coolsvap) Ville Skyttä boncheff +clslgrnc popokatapepel reedip +rfportilla voith diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/requests-mock-1.7.0/ChangeLog new/requests-mock-1.8.0/ChangeLog --- old/requests-mock-1.7.0/ChangeLog 2019-09-01 09:48:16.0 +0200 +++ new/requests-mock-1.8.0/ChangeLog 2020-05-02 15:10:52.0 +0200 @@ -1,6 +1,35 @@ CHANGES === +1.8.0 +- + +* Remove requests 2.3 compatibility code +* Add release notes for reset function +* Add release note for session scoped mock +* Allow passing session as postiional argument +* Create bound method instead of a wrapper +* Added reset\_mock to \_RequestHistoryTracker and Adapter (#139) +* doc on session Mockers +* doc on nesting Mockers +* fix README.rst typo +* suggest Mocker for users unfamiliar with adapters +* update examples to mount adapter on 'mock://' +* fix global/session mock interactions and real\_http +* Added installation instructions +* Add release note for nested mocking +* fix redirects (#105) and mock nesting (#116) +* Mark IOReader object closed when using a stream +* Add the default response reason if not set +* Don't check that proxies are set in test +* Add StackOverflow tag to README +* Mention pytest fixture on the README +* Add backgro
commit python-requests-mock for openSUSE:Factory
Hello community, here is the log from the commit of package python-requests-mock for openSUSE:Factory checked in at 2019-09-23 12:17:07 Comparing /work/SRC/openSUSE:Factory/python-requests-mock (Old) and /work/SRC/openSUSE:Factory/.python-requests-mock.new.7948 (New) Package is "python-requests-mock" Mon Sep 23 12:17:07 2019 rev:13 rq:731152 version:1.7.0 Changes: --- /work/SRC/openSUSE:Factory/python-requests-mock/python-requests-mock.changes 2019-06-13 22:29:55.408447997 +0200 +++ /work/SRC/openSUSE:Factory/.python-requests-mock.new.7948/python-requests-mock.changes 2019-09-23 12:17:09.929809159 +0200 @@ -1,0 +2,11 @@ +Sun Sep 15 11:17:30 UTC 2019 - Jan Engelhardt + +- Use noun phrsae in summary. + +--- +Tue Sep 10 10:49:05 UTC 2019 - Tomáš Chvátal + +- Update to 1.7.0: + * support for purl + +--- @@ -163 +173,0 @@ - Old: requests-mock-1.6.0.tar.gz New: requests-mock-1.7.0.tar.gz Other differences: -- ++ python-requests-mock.spec ++ --- /var/tmp/diff_new_pack.rCDyOV/_old 2019-09-23 12:17:10.457809072 +0200 +++ /var/tmp/diff_new_pack.rCDyOV/_new 2019-09-23 12:17:10.461809072 +0200 @@ -18,17 +18,18 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-requests-mock -Version:1.6.0 +Version:1.7.0 Release:0 -Summary:Mock out responses from the requests package +Summary:Module to mock out responses from the requests package License:Apache-2.0 Group: Development/Languages/Python -URL:https://requests-mock.readthedocs.org/ +URL:https://github.com/jamielennox/requests-mock Source: https://files.pythonhosted.org/packages/source/r/requests-mock/requests-mock-%{version}.tar.gz BuildRequires: %{python_module fixtures} BuildRequires: %{python_module mock} BuildRequires: %{python_module pbr} BuildRequires: %{python_module purl} +BuildRequires: %{python_module purl} BuildRequires: %{python_module pytest} BuildRequires: %{python_module requests >= 2.3} BuildRequires: %{python_module rpm-macros} ++ requests-mock-1.6.0.tar.gz -> requests-mock-1.7.0.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/requests-mock-1.6.0/AUTHORS new/requests-mock-1.7.0/AUTHORS --- old/requests-mock-1.6.0/AUTHORS 2019-04-28 11:14:07.0 +0200 +++ new/requests-mock-1.7.0/AUTHORS 2019-09-01 09:48:16.0 +0200 @@ -1,3 +1,4 @@ +Alex Peters Andreas Jaeger Darragh Bailey David Kremer @@ -10,6 +11,7 @@ Jon Dufresne Louis Taylor Manuel Kaufmann +Matthias Bilger Monty Taylor Noam Rick van de Loo @@ -17,5 +19,6 @@ Swapnil Kulkarni (coolsvap) Ville Skyttä boncheff +popokatapepel reedip voith diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/requests-mock-1.6.0/ChangeLog new/requests-mock-1.7.0/ChangeLog --- old/requests-mock-1.6.0/ChangeLog 2019-04-28 11:14:07.0 +0200 +++ new/requests-mock-1.7.0/ChangeLog 2019-09-01 09:48:16.0 +0200 @@ -1,6 +1,16 @@ CHANGES === +1.7.0 +- + +* Keep blank values query string values on request history +* Add release notes for requests version pin +* Keep blank values (#106) +* Pin requests version to <3 +* Add known issue for cookies in Sessions +* logger added to adapter.py (#93) + 1.6.0 - diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/requests-mock-1.6.0/PKG-INFO new/requests-mock-1.7.0/PKG-INFO --- old/requests-mock-1.6.0/PKG-INFO2019-04-28 11:14:08.0 +0200 +++ new/requests-mock-1.7.0/PKG-INFO2019-09-01 09:48:17.0 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: requests-mock -Version: 1.6.0 +Version: 1.7.0 Summary: Mock out responses from the requests package Home-page: https://requests-mock.readthedocs.io/ Author: Jamie Lennox diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/requests-mock-1.6.0/RELEASENOTES.rst new/requests-mock-1.7.0/RELEASENOTES.rst --- old/requests-mock-1.6.0/RELEASENOTES.rst2019-04-28 11:14:08.0 +0200 +++ new/requests-mock-1.7.0/RELEASENOTES.rst2019-09-01 09:48:17.0 +0200 @@ -2,6 +2,31 @@ requests-mock = +.. _requests-mock_1.7.0: + +1.7.0 += + +.. _requests-mock_1.7.0_New Features: + +New Features + + +.. releasenotes/notes/match-empty-query-string-e6d6976fe002da0b.yaml @ b'9210dfc1c831c4afdd698dcd9ac637ee36019439' + +- You can now match on the empty
commit python-requests-mock for openSUSE:Factory
Hello community, here is the log from the commit of package python-requests-mock for openSUSE:Factory checked in at 2019-06-13 22:29:54 Comparing /work/SRC/openSUSE:Factory/python-requests-mock (Old) and /work/SRC/openSUSE:Factory/.python-requests-mock.new.4811 (New) Package is "python-requests-mock" Thu Jun 13 22:29:54 2019 rev:12 rq:708340 version:1.6.0 Changes: --- /work/SRC/openSUSE:Factory/python-requests-mock/python-requests-mock.changes 2019-05-09 14:27:40.541837102 +0200 +++ /work/SRC/openSUSE:Factory/.python-requests-mock.new.4811/python-requests-mock.changes 2019-06-13 22:29:55.408447997 +0200 @@ -1,0 +2,7 @@ +Fri Jun 7 11:54:36 UTC 2019 - Tomáš Chvátal + +- Update dependencies +- Run also pytest tests +- Fix fdupes call + +--- Other differences: -- ++ python-requests-mock.spec ++ --- /var/tmp/diff_new_pack.jUOQnw/_old 2019-06-13 22:29:56.172447748 +0200 +++ /var/tmp/diff_new_pack.jUOQnw/_new 2019-06-13 22:29:56.188447744 +0200 @@ -25,11 +25,12 @@ Group: Development/Languages/Python URL:https://requests-mock.readthedocs.org/ Source: https://files.pythonhosted.org/packages/source/r/requests-mock/requests-mock-%{version}.tar.gz -BuildRequires: %{python_module Sphinx >= 1.1.2} BuildRequires: %{python_module fixtures} BuildRequires: %{python_module mock} BuildRequires: %{python_module pbr} -BuildRequires: %{python_module requests} +BuildRequires: %{python_module purl} +BuildRequires: %{python_module pytest} +BuildRequires: %{python_module requests >= 2.3} BuildRequires: %{python_module rpm-macros} BuildRequires: %{python_module six} BuildRequires: %{python_module testrepository >= 0.0.18} @@ -56,12 +57,12 @@ %install %python_install -%python_expand %fdupes %{buildroot}%{$python_sitelib}/mymodule +%python_expand %fdupes %{buildroot}%{$python_sitelib} %check +%pytest tests/pytest + mv .testr.conf .testr.conf.orig -# purl optional dependency is missing at time of writing (2019-05-07) -rm ./tests/test_adapter.py %{python_expand # first line can't be empty rm -rf .testrepository sed 's/python/$python/' .testr.conf.orig >| .testr.conf
commit python-requests-mock for openSUSE:Factory
Hello community, here is the log from the commit of package python-requests-mock for openSUSE:Factory checked in at 2019-05-09 14:27:39 Comparing /work/SRC/openSUSE:Factory/python-requests-mock (Old) and /work/SRC/openSUSE:Factory/.python-requests-mock.new.5148 (New) Package is "python-requests-mock" Thu May 9 14:27:39 2019 rev:11 rq:701328 version:1.6.0 Changes: --- /work/SRC/openSUSE:Factory/python-requests-mock/python-requests-mock.changes 2019-03-12 09:44:53.619746108 +0100 +++ /work/SRC/openSUSE:Factory/.python-requests-mock.new.5148/python-requests-mock.changes 2019-05-09 14:27:40.541837102 +0200 @@ -1,0 +2,10 @@ +Tue May 7 13:19:56 UTC 2019 - pgaj...@suse.com + +- version update to 1.6.0 + * Respect user provided content encoding type + * Update minimum requests version to 2.3 + * Add testing for Python 3.7 & PyPy3 + * Drop \_matcher from request pickled state + * Clarify the pytest configuration documentation + +--- Old: requests-mock-1.5.2.tar.gz New: requests-mock-1.6.0.tar.gz Other differences: -- ++ python-requests-mock.spec ++ --- /var/tmp/diff_new_pack.xrzsQH/_old 2019-05-09 14:27:41.085838361 +0200 +++ /var/tmp/diff_new_pack.xrzsQH/_new 2019-05-09 14:27:41.089838370 +0200 @@ -17,9 +17,8 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} -%bcond_without test Name: python-requests-mock -Version:1.5.2 +Version:1.6.0 Release:0 Summary:Mock out responses from the requests package License:Apache-2.0 @@ -36,7 +35,7 @@ BuildRequires: %{python_module testrepository >= 0.0.18} BuildRequires: %{python_module testtools} BuildRequires: fdupes -Requires: python-requests >= 1.1 +Requires: python-requests >= 2.3 Requires: python-six BuildArch: noarch %ifpython3 @@ -59,16 +58,16 @@ %python_install %python_expand %fdupes %{buildroot}%{$python_sitelib}/mymodule -%if %{with test} %check mv .testr.conf .testr.conf.orig +# purl optional dependency is missing at time of writing (2019-05-07) +rm ./tests/test_adapter.py %{python_expand # first line can't be empty rm -rf .testrepository sed 's/python/$python/' .testr.conf.orig >| .testr.conf testr init testr run --parallel } -%endif %files %{python_files} %license LICENSE ++ requests-mock-1.5.2.tar.gz -> requests-mock-1.6.0.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/requests-mock-1.5.2/.circleci/config.yml new/requests-mock-1.6.0/.circleci/config.yml --- old/requests-mock-1.5.2/.circleci/config.yml2018-07-21 05:57:52.0 +0200 +++ new/requests-mock-1.6.0/.circleci/config.yml2019-04-28 11:13:46.0 +0200 @@ -62,6 +62,37 @@ source venv/bin/activate tox -e py27 + oldest: +docker: + - image: circleci/python:3.6 + +steps: + - checkout + + - restore_cache: + keys: +- oldest-dependencies-{{ checksum "requirements.txt" }}-{{ checksum "test-requirements.txt" }} + + - run: + name: install dependencies + command: | +python3 -m venv venv +source venv/bin/activate +pip3 install tox +tox -e oldest-requirements --notest + + - save_cache: + paths: +- ./venv +- .tox/py36 + key: oldest-dependencies-{{ checksum "requirements.txt" }}-{{ checksum "test-requirements.txt" }} + + - run: + name: run tests + command: | +source venv/bin/activate +tox -e py36 + pypi: docker: - image: circleci/python:3.6 @@ -92,10 +123,16 @@ tags: only: /^\d+\.\d+\.\d+$/ + - oldest: + filters: +tags: + only: /^\d+\.\d+\.\d+$/ + - pypi: requires: - py27 - py36 +- oldest filters: branches: ignore: /.*/ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/requests-mock-1.5.2/.tox.oldest.txt new/requests-mock-1.6.0/.tox.oldest.txt --- old/requests-mock-1.5.2/.tox.oldest.txt 1970-01-01 01:00:00.0 +0100 +++ new/requests-mock-1.6.0/.tox.oldest.txt 2019-04-28 11:13:46.0 +0200 @@ -0,0 +1 @@ +requests==2.0.0 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/requests-mock-1.5.2/AUTHORS new/requests-mock-1.6.0/AUTHORS --- old/requests-mock-1.5.2/AUTHORS 2018-07-21 05:58:10.0 +0200 +++ new/requests-mock
commit python-requests-mock for openSUSE:Factory
Hello community, here is the log from the commit of package python-requests-mock for openSUSE:Factory checked in at 2019-03-12 09:44:52 Comparing /work/SRC/openSUSE:Factory/python-requests-mock (Old) and /work/SRC/openSUSE:Factory/.python-requests-mock.new.28833 (New) Package is "python-requests-mock" Tue Mar 12 09:44:52 2019 rev:10 rq:682495 version:1.5.2 Changes: --- /work/SRC/openSUSE:Factory/python-requests-mock/python-requests-mock.changes 2018-12-27 00:28:25.311710711 +0100 +++ /work/SRC/openSUSE:Factory/.python-requests-mock.new.28833/python-requests-mock.changes 2019-03-12 09:44:53.619746108 +0100 @@ -1,0 +2,33 @@ +Thu Mar 7 15:00:19 UTC 2019 - Thomas Bechtold + +- update to 1.5.2: + * Fix discovery of pytest version and default + * Add a docstring to the pytest fixture + * Include release note for py.test + * Collapse CircleCI configuration + * Support older pytest versions + * Record value of stream parameter in request history + * Some additional gitignores + * Include reno in circleci publish job + * Prefer readthedocs.io instead of readthedocs.org for doc links + * Add release note describe repository migration + * Add pytest plugin + * Include release-notes in documentation + * Another attempt at circleci tags + * Only try and push to pypi on a tag + * Update all pypi.python.org URLs to pypi.org + * Add pypi upload configuration to circleci + * Move tests outside of package to top level directory + * Remove zuul.yaml as we're not using zuul anymore + * Add CircleCI badge to README + * Remove links to launchpad bug reporting + * Remove .gitreview + * Unpin sphinx dependency + * Add circleci testing configuration + * Use set literals throughout project + * Prefer https:// links over http:// in docs and comments + * Fix last\_request examples + * Fix spelling mistakes + * Move Zuul jobs in-tree + +--- Old: requests-mock-1.4.0.tar.gz New: requests-mock-1.5.2.tar.gz Other differences: -- ++ python-requests-mock.spec ++ --- /var/tmp/diff_new_pack.pUFeE1/_old 2019-03-12 09:44:54.507743619 +0100 +++ /var/tmp/diff_new_pack.pUFeE1/_new 2019-03-12 09:44:54.511743607 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-requests-mock # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 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 @@ -19,7 +19,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %bcond_without test Name: python-requests-mock -Version:1.4.0 +Version:1.5.2 Release:0 Summary:Mock out responses from the requests package License:Apache-2.0 ++ requests-mock-1.4.0.tar.gz -> requests-mock-1.5.2.tar.gz ++ 4853 lines of diff (skipped)
commit python-requests-mock for openSUSE:Factory
Hello community, here is the log from the commit of package python-requests-mock for openSUSE:Factory checked in at 2018-12-27 00:28:24 Comparing /work/SRC/openSUSE:Factory/python-requests-mock (Old) and /work/SRC/openSUSE:Factory/.python-requests-mock.new.28833 (New) Package is "python-requests-mock" Thu Dec 27 00:28:24 2018 rev:9 rq:659646 version:1.4.0 Changes: --- /work/SRC/openSUSE:Factory/python-requests-mock/python-requests-mock.changes 2018-02-26 23:24:37.507470936 +0100 +++ /work/SRC/openSUSE:Factory/.python-requests-mock.new.28833/python-requests-mock.changes 2018-12-27 00:28:25.311710711 +0100 @@ -1,0 +2,5 @@ +Tue Dec 4 12:53:47 UTC 2018 - Matej Cepl + +- Remove superfluous devel dependency for noarch package + +--- Other differences: -- ++ python-requests-mock.spec ++ --- /var/tmp/diff_new_pack.wtVgNP/_old 2018-12-27 00:28:25.719710377 +0100 +++ /var/tmp/diff_new_pack.wtVgNP/_new 2018-12-27 00:28:25.723710374 +0100 @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -24,10 +24,9 @@ Summary:Mock out responses from the requests package License:Apache-2.0 Group: Development/Languages/Python -Url:https://requests-mock.readthedocs.org/ +URL:https://requests-mock.readthedocs.org/ Source: https://files.pythonhosted.org/packages/source/r/requests-mock/requests-mock-%{version}.tar.gz BuildRequires: %{python_module Sphinx >= 1.1.2} -BuildRequires: %{python_module devel} BuildRequires: %{python_module fixtures} BuildRequires: %{python_module mock} BuildRequires: %{python_module pbr} @@ -39,13 +38,11 @@ BuildRequires: fdupes Requires: python-requests >= 1.1 Requires: python-six +BuildArch: noarch %ifpython3 BuildRequires: python3-dbm Requires: python3-dbm %endif -BuildRoot: %{_tmppath}/%{name}-%{version}-build -BuildArch: noarch - %python_subpackages %description @@ -74,8 +71,8 @@ %endif %files %{python_files} -%defattr(-,root,root,-) -%doc AUTHORS README.rst LICENSE ChangeLog +%license LICENSE +%doc AUTHORS README.rst ChangeLog %{python_sitelib}/* %changelog
commit python-requests-mock for openSUSE:Factory
Hello community, here is the log from the commit of package python-requests-mock for openSUSE:Factory checked in at 2018-02-26 23:24:37 Comparing /work/SRC/openSUSE:Factory/python-requests-mock (Old) and /work/SRC/openSUSE:Factory/.python-requests-mock.new (New) Package is "python-requests-mock" Mon Feb 26 23:24:37 2018 rev:8 rq:579522 version:1.4.0 Changes: --- /work/SRC/openSUSE:Factory/python-requests-mock/python-requests-mock.changes 2017-06-22 10:40:44.950609638 +0200 +++ /work/SRC/openSUSE:Factory/.python-requests-mock.new/python-requests-mock.changes 2018-02-26 23:24:37.507470936 +0100 @@ -1,0 +2,11 @@ +Fri Feb 23 13:52:35 UTC 2018 - tbecht...@suse.com + +- update to 1.4.0: + * allow an adapter to be passed to a Mocker object + * Rename [wheel] section to [bdist\_wheel] as the former is legacy + * Include license file in the generated wheel package + * Add testing for newer Python versions 3.5 and 3.6 + * Return a separate copy for each call to decorator + * Add string representation to \_RequestObjectProxy + +--- Old: requests-mock-1.3.0.tar.gz New: requests-mock-1.4.0.tar.gz Other differences: -- ++ python-requests-mock.spec ++ --- /var/tmp/diff_new_pack.rocNE3/_old 2018-02-26 23:24:38.419438138 +0100 +++ /var/tmp/diff_new_pack.rocNE3/_new 2018-02-26 23:24:38.419438138 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-requests-mock # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 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 @@ -19,7 +19,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %bcond_without test Name: python-requests-mock -Version:1.3.0 +Version:1.4.0 Release:0 Summary:Mock out responses from the requests package License:Apache-2.0 ++ requests-mock-1.3.0.tar.gz -> requests-mock-1.4.0.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/requests-mock-1.3.0/AUTHORS new/requests-mock-1.4.0/AUTHORS --- old/requests-mock-1.3.0/AUTHORS 2017-02-01 06:38:55.0 +0100 +++ new/requests-mock-1.4.0/AUTHORS 2017-12-06 00:10:55.0 +0100 @@ -1,11 +1,17 @@ +Darragh Bailey +David Kremer Ian Cordasco Jamie Lennox Jamie Lennox Janonymous Jeremy Stanley +Jon Dufresne Louis Taylor Manuel Kaufmann Monty Taylor +Rick van de Loo Sebastian Kalinowski +Swapnil Kulkarni (coolsvap) +Zuul reedip voith diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/requests-mock-1.3.0/ChangeLog new/requests-mock-1.4.0/ChangeLog --- old/requests-mock-1.3.0/ChangeLog 2017-02-01 06:38:55.0 +0100 +++ new/requests-mock-1.4.0/ChangeLog 2017-12-06 00:10:55.0 +0100 @@ -1,12 +1,22 @@ CHANGES === +1.4.0 +- + +* allow an adapter to be passed to a Mocker object +* Rename [wheel] section to [bdist\_wheel] as the former is legacy +* Include license file in the generated wheel package +* Add testing for newer Python versions 3.5 and 3.6 +* Return a separate copy for each call to decorator +* Add string representation to \_RequestObjectProxy + 1.3.0 - -* Add a releasenote for additional_matcher +* Add a releasenote for additional\_matcher * Add documentation for the exception response -* Fix occurences of `adatper` +* Fix occurences of \`adatper\` * Type check the empty string when creating repsonse * Allow arbirtrary matcher to be add to match @@ -14,21 +24,22 @@ - * Allow for nested mocking -* Use create_response for fake http response in tests +* Use create\_response for fake http response in tests * Add hostname and port properties to request * Move request code and tests into their own files -* Add called_once to Mocker +* Add called\_once to Mocker * Fix docs building * Fix exception message when creating a response 1.1.0 - -* Add a called_once property to adapter +* Add a called\_once property to adapter * Enable case sensitive matching * Provide fixture extras for pip -* Allow doing real_http per mock via the mocker +* Allow doing real\_http per mock via the mocker * Return b'' when reading closed response +* Remove discover from test-requirements * Fixture documentation error 1.0.0 @@ -38,7 +49,7 @@ * Change dev status classifier to stable * Doc fixups * Expose cert and proxies as attributes of the last request -* Add timeout and allow_retries to RequestProxy +* Add timeout and allow\_ret
commit python-requests-mock for openSUSE:Factory
Hello community, here is the log from the commit of package python-requests-mock for openSUSE:Factory checked in at 2017-06-22 10:40:42 Comparing /work/SRC/openSUSE:Factory/python-requests-mock (Old) and /work/SRC/openSUSE:Factory/.python-requests-mock.new (New) Package is "python-requests-mock" Thu Jun 22 10:40:42 2017 rev:7 rq:505524 version:1.3.0 Changes: --- /work/SRC/openSUSE:Factory/python-requests-mock/python-requests-mock.changes 2017-06-08 15:02:33.126842384 +0200 +++ /work/SRC/openSUSE:Factory/.python-requests-mock.new/python-requests-mock.changes 2017-06-22 10:40:44.950609638 +0200 @@ -1,0 +2,15 @@ +Wed Jun 14 16:37:14 UTC 2017 - dmuel...@suse.com + +- fix build for SLE12 + +--- +Sat Jun 10 07:47:41 UTC 2017 - dmuel...@suse.com + +- update to 1.3.0: + * Add a releasenote for additional_matcher + * Add documentation for the exception response + * Fix occurences of `adatper` + * Type check the empty string when creating repsonse + * Allow arbirtrary matcher to be add to match + +--- Old: requests-mock-1.2.0.tar.gz New: requests-mock-1.3.0.tar.gz Other differences: -- ++ python-requests-mock.spec ++ --- /var/tmp/diff_new_pack.YRxBVF/_old 2017-06-22 10:40:46.626373370 +0200 +++ /var/tmp/diff_new_pack.YRxBVF/_new 2017-06-22 10:40:46.626373370 +0200 @@ -19,7 +19,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %bcond_without test Name: python-requests-mock -Version:1.2.0 +Version:1.3.0 Release:0 Summary:Mock out responses from the requests package License:Apache-2.0 @@ -37,10 +37,10 @@ BuildRequires: %{python_module testrepository >= 0.0.18} BuildRequires: %{python_module testtools} BuildRequires: fdupes -BuildRequires: python3-dbm Requires: python-requests >= 1.1 Requires: python-six %ifpython3 +BuildRequires: python3-dbm Requires: python3-dbm %endif BuildRoot: %{_tmppath}/%{name}-%{version}-build ++ requests-mock-1.2.0.tar.gz -> requests-mock-1.3.0.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/requests-mock-1.2.0/ChangeLog new/requests-mock-1.3.0/ChangeLog --- old/requests-mock-1.2.0/ChangeLog 2016-12-05 02:24:47.0 +0100 +++ new/requests-mock-1.3.0/ChangeLog 2017-02-01 06:38:55.0 +0100 @@ -1,6 +1,15 @@ CHANGES === +1.3.0 +- + +* Add a releasenote for additional_matcher +* Add documentation for the exception response +* Fix occurences of `adatper` +* Type check the empty string when creating repsonse +* Allow arbirtrary matcher to be add to match + 1.2.0 - diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/requests-mock-1.2.0/PKG-INFO new/requests-mock-1.3.0/PKG-INFO --- old/requests-mock-1.2.0/PKG-INFO2016-12-05 02:24:48.0 +0100 +++ new/requests-mock-1.3.0/PKG-INFO2017-02-01 06:38:55.0 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: requests-mock -Version: 1.2.0 +Version: 1.3.0 Summary: Mock out responses from the requests package Home-page: https://requests-mock.readthedocs.org/ Author: Jamie Lennox @@ -23,7 +23,7 @@ == Everything in `requests`_ eventually goes through an adapter to do the transport work. -`requests-mock` creates a custom `adatper` that allows you to predefine responses when certain URIs are called. +`requests-mock` creates a custom `adapter` that allows you to predefine responses when certain URIs are called. There are then a number of methods provided to get the adapter used. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/requests-mock-1.2.0/README.rst new/requests-mock-1.3.0/README.rst --- old/requests-mock-1.2.0/README.rst 2016-12-05 02:23:37.0 +0100 +++ new/requests-mock-1.3.0/README.rst 2017-02-01 06:37:40.0 +0100 @@ -15,7 +15,7 @@ == Everything in `requests`_ eventually goes through an adapter to do the transport work. -`requests-mock` creates a custom `adatper` that allows you to predefine responses when certain URIs are called. +`requests-mock` creates a custom `adapter` that allows you to predefine responses when certain URIs are called. There are then a number of methods provided to get the adapter used. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/requests-mock-1.2.0/doc/source/matching.rst new/requests-mock-1.3.0/doc/source/matching.rst
commit python-requests-mock for openSUSE:Factory
Hello community, here is the log from the commit of package python-requests-mock for openSUSE:Factory checked in at 2017-06-08 15:02:31 Comparing /work/SRC/openSUSE:Factory/python-requests-mock (Old) and /work/SRC/openSUSE:Factory/.python-requests-mock.new (New) Package is "python-requests-mock" Thu Jun 8 15:02:31 2017 rev:6 rq:501309 version:1.2.0 Changes: --- /work/SRC/openSUSE:Factory/python-requests-mock/python-requests-mock.changes 2017-02-03 18:58:21.553434468 +0100 +++ /work/SRC/openSUSE:Factory/.python-requests-mock.new/python-requests-mock.changes 2017-06-08 15:02:33.126842384 +0200 @@ -1,0 +2,5 @@ +Thu May 25 15:22:58 UTC 2017 - sebix+novell@sebix.at + +- convert to singlespec + +--- Other differences: -- ++ python-requests-mock.spec ++ --- /var/tmp/diff_new_pack.5PbtAt/_old 2017-06-08 15:02:33.762752639 +0200 +++ /var/tmp/diff_new_pack.5PbtAt/_new 2017-06-08 15:02:33.770751510 +0200 @@ -16,6 +16,8 @@ # +%{?!python_module:%define python_module() python-%{**} python3-%{**}} +%bcond_without test Name: python-requests-mock Version:1.2.0 Release:0 @@ -23,43 +25,55 @@ License:Apache-2.0 Group: Development/Languages/Python Url:https://requests-mock.readthedocs.org/ -Source: https://pypi.io/packages/source/r/requests-mock/requests-mock-%{version}.tar.gz -BuildRequires: python-devel -BuildRequires: python-fixtures -BuildRequires: python-mock -BuildRequires: python-pbr -BuildRequires: python-requests -BuildRequires: python-six -BuildRequires: python-sphinx >= 1.1.2 -BuildRequires: python-testrepository >= 0.0.18 -BuildRequires: python-testtools +Source: https://files.pythonhosted.org/packages/source/r/requests-mock/requests-mock-%{version}.tar.gz +BuildRequires: %{python_module Sphinx >= 1.1.2} +BuildRequires: %{python_module devel} +BuildRequires: %{python_module fixtures} +BuildRequires: %{python_module mock} +BuildRequires: %{python_module pbr} +BuildRequires: %{python_module requests} +BuildRequires: %{python_module rpm-macros} +BuildRequires: %{python_module six} +BuildRequires: %{python_module testrepository >= 0.0.18} +BuildRequires: %{python_module testtools} +BuildRequires: fdupes +BuildRequires: python3-dbm Requires: python-requests >= 1.1 Requires: python-six +%ifpython3 +Requires: python3-dbm +%endif BuildRoot: %{_tmppath}/%{name}-%{version}-build -%if 0%{?suse_version} && 0%{?suse_version} <= 1110 -%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} -%else BuildArch: noarch -%endif + +%python_subpackages %description -`requests-mock` provides a building block to stub out the HTTP `requests`_ portions of your testing code. -You should checkout the `docs`_ for more information. +requests-mock provides a building block to stub out the HTTP requests portions of your testing code. +You should checkout the docs for more information. %prep %setup -q -n requests-mock-%{version} %build -python setup.py build +%python_build %install -python setup.py install --prefix=%{_prefix} --root=%{buildroot} +%python_install +%python_expand %fdupes %{buildroot}%{$python_sitelib}/mymodule +%if %{with test} %check +mv .testr.conf .testr.conf.orig +%{python_expand # first line can't be empty +rm -rf .testrepository +sed 's/python/$python/' .testr.conf.orig >| .testr.conf testr init testr run --parallel +} +%endif -%files +%files %{python_files} %defattr(-,root,root,-) %doc AUTHORS README.rst LICENSE ChangeLog %{python_sitelib}/*
commit python-requests-mock for openSUSE:Factory
Hello community, here is the log from the commit of package python-requests-mock for openSUSE:Factory checked in at 2017-01-31 12:48:49 Comparing /work/SRC/openSUSE:Factory/python-requests-mock (Old) and /work/SRC/openSUSE:Factory/.python-requests-mock.new (New) Package is "python-requests-mock" Changes: --- /work/SRC/openSUSE:Factory/python-requests-mock/python-requests-mock.changes 2016-09-30 15:33:49.0 +0200 +++ /work/SRC/openSUSE:Factory/.python-requests-mock.new/python-requests-mock.changes 2017-02-03 18:58:21.553434468 +0100 @@ -1,0 +2,12 @@ +Mon Jan 30 11:04:29 UTC 2017 - tbecht...@suse.com + +- update to 1.2.0: + * Allow for nested mocking + * Use create_response for fake http response in tests + * Add hostname and port properties to request + * Move request code and tests into their own files + * Add called_once to Mocker + * Fix docs building + * Fix exception message when creating a response + +--- Old: requests-mock-1.1.0.tar.gz New: requests-mock-1.2.0.tar.gz Other differences: -- ++ python-requests-mock.spec ++ --- /var/tmp/diff_new_pack.gtGEPw/_old 2017-02-03 18:58:21.933381106 +0100 +++ /var/tmp/diff_new_pack.gtGEPw/_new 2017-02-03 18:58:21.933381106 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-requests-mock # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 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,7 +17,7 @@ Name: python-requests-mock -Version:1.1.0 +Version:1.2.0 Release:0 Summary:Mock out responses from the requests package License:Apache-2.0 ++ requests-mock-1.1.0.tar.gz -> requests-mock-1.2.0.tar.gz ++ 4102 lines of diff (skipped)
commit python-requests-mock for openSUSE:Factory
Hello community, here is the log from the commit of package python-requests-mock for openSUSE:Factory checked in at 2016-09-30 15:33:48 Comparing /work/SRC/openSUSE:Factory/python-requests-mock (Old) and /work/SRC/openSUSE:Factory/.python-requests-mock.new (New) Package is "python-requests-mock" Changes: --- /work/SRC/openSUSE:Factory/python-requests-mock/python-requests-mock.changes 2016-07-14 09:46:29.0 +0200 +++ /work/SRC/openSUSE:Factory/.python-requests-mock.new/python-requests-mock.changes 2016-09-30 15:33:49.0 +0200 @@ -1,0 +2,11 @@ +Wed Sep 28 09:00:13 UTC 2016 - tbecht...@suse.com + +- update to 1.1.0: + * Add a called_once property to adapter + * Enable case sensitive matching + * Provide fixture extras for pip + * Allow doing real_http per mock via the mocker + * Return b'' when reading closed response + * Fixture documentation error + +--- Old: requests-mock-1.0.0.tar.gz New: requests-mock-1.1.0.tar.gz Other differences: -- ++ python-requests-mock.spec ++ --- /var/tmp/diff_new_pack.8ipqaQ/_old 2016-09-30 15:33:52.0 +0200 +++ /var/tmp/diff_new_pack.8ipqaQ/_new 2016-09-30 15:33:52.0 +0200 @@ -17,7 +17,7 @@ Name: python-requests-mock -Version:1.0.0 +Version:1.1.0 Release:0 Summary:Mock out responses from the requests package License:Apache-2.0 ++ requests-mock-1.0.0.tar.gz -> requests-mock-1.1.0.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/requests-mock-1.0.0/AUTHORS new/requests-mock-1.1.0/AUTHORS --- old/requests-mock-1.0.0/AUTHORS 2016-05-09 07:14:35.0 +0200 +++ new/requests-mock-1.1.0/AUTHORS 2016-09-14 09:07:03.0 +0200 @@ -4,5 +4,7 @@ Janonymous Jeremy Stanley Louis Taylor +Manuel Kaufmann Monty Taylor Sebastian Kalinowski +reedip diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/requests-mock-1.0.0/ChangeLog new/requests-mock-1.1.0/ChangeLog --- old/requests-mock-1.0.0/ChangeLog 2016-05-09 07:14:35.0 +0200 +++ new/requests-mock-1.1.0/ChangeLog 2016-09-14 09:07:03.0 +0200 @@ -1,6 +1,16 @@ CHANGES === +1.1.0 +- + +* Add a called_once property to adapter +* Enable case sensitive matching +* Provide fixture extras for pip +* Allow doing real_http per mock via the mocker +* Return b'' when reading closed response +* Fixture documentation error + 1.0.0 - @@ -9,6 +19,7 @@ * Doc fixups * Expose cert and proxies as attributes of the last request * Add timeout and allow_retries to RequestProxy +* Add trove support for py34 and remove py33 * Fix py34 DB issue and remove py33/py26 * Remove pypip.in badge from readme diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/requests-mock-1.0.0/PKG-INFO new/requests-mock-1.1.0/PKG-INFO --- old/requests-mock-1.0.0/PKG-INFO2016-05-09 07:14:35.0 +0200 +++ new/requests-mock-1.1.0/PKG-INFO2016-09-14 09:07:03.0 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: requests-mock -Version: 1.0.0 +Version: 1.1.0 Summary: Mock out responses from the requests package Home-page: https://requests-mock.readthedocs.org/ Author: Jamie Lennox @@ -105,5 +105,5 @@ Classifier: Programming Language :: Python :: 2.7 Classifier: Programming Language :: Python :: 2.6 Classifier: Programming Language :: Python :: 3 -Classifier: Programming Language :: Python :: 3.3 +Classifier: Programming Language :: Python :: 3.4 Classifier: Topic :: Software Development :: Testing diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/requests-mock-1.0.0/docs/fixture.rst new/requests-mock-1.1.0/docs/fixture.rst --- old/requests-mock-1.0.0/docs/fixture.rst2016-05-09 07:12:34.0 +0200 +++ new/requests-mock-1.1.0/docs/fixture.rst2016-09-14 09:05:03.0 +0200 @@ -4,8 +4,12 @@ `Fixtures`_ provide a way to create reusable state and helper methods in test cases. -To use the *requests-mock* fixture your tests need to have a dependency on the `fixtures`_ library and the `mock`_ library. -These are not provided by *requests-mock*. +To use the *requests-mock* fixture your tests need to have a dependency on the `fixtures`_ library. +This can be optionally installed when you install *requests-mock* by doing: + +.. code:: shell + +pip install requests-mock[fixture] The fixture mocks the :py:meth:`requests.Session.get_adapter` method so that all requests will be served by the mock adapter. @@ -23,7 +27,7 @@ ... ...
commit python-requests-mock for openSUSE:Factory
Hello community, here is the log from the commit of package python-requests-mock for openSUSE:Factory checked in at 2016-07-14 09:46:25 Comparing /work/SRC/openSUSE:Factory/python-requests-mock (Old) and /work/SRC/openSUSE:Factory/.python-requests-mock.new (New) Package is "python-requests-mock" Changes: --- /work/SRC/openSUSE:Factory/python-requests-mock/python-requests-mock.changes 2015-12-16 17:42:29.0 +0100 +++ /work/SRC/openSUSE:Factory/.python-requests-mock.new/python-requests-mock.changes 2016-07-14 09:46:29.0 +0200 @@ -1,0 +2,17 @@ +Fri Jul 8 08:55:29 UTC 2016 - dmuel...@suse.com + +- fix source url + +--- +Wed Jul 6 16:13:45 UTC 2016 - tbecht...@suse.com + +- update to 1.0.0: + * Add tox environment to run against master requests + * Change dev status classifier to stable + * Doc fixups + * Expose cert and proxies as attributes of the last request + * Add timeout and allow_retries to RequestProxy + * Fix py34 DB issue and remove py33/py26 + * Remove pypip.in badge from readme + +--- Old: requests-mock-0.7.0.tar.gz New: requests-mock-1.0.0.tar.gz Other differences: -- ++ python-requests-mock.spec ++ --- /var/tmp/diff_new_pack.px99aC/_old 2016-07-14 09:46:31.0 +0200 +++ /var/tmp/diff_new_pack.px99aC/_new 2016-07-14 09:46:31.0 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-requests-mock # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2016 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,13 +17,13 @@ Name: python-requests-mock -Version:0.7.0 +Version:1.0.0 Release:0 Summary:Mock out responses from the requests package License:Apache-2.0 Group: Development/Languages/Python Url:https://requests-mock.readthedocs.org/ -Source: https://pypi.python.org/packages/source/r/requests-mock/requests-mock-%{version}.tar.gz +Source: https://pypi.io/packages/source/r/requests-mock/requests-mock-%{version}.tar.gz BuildRequires: python-devel BuildRequires: python-fixtures BuildRequires: python-mock ++ requests-mock-0.7.0.tar.gz -> requests-mock-1.0.0.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/requests-mock-0.7.0/AUTHORS new/requests-mock-1.0.0/AUTHORS --- old/requests-mock-0.7.0/AUTHORS 2015-11-24 02:31:04.0 +0100 +++ new/requests-mock-1.0.0/AUTHORS 2016-05-09 07:14:35.0 +0200 @@ -1,6 +1,8 @@ Ian Cordasco Jamie Lennox Jamie Lennox +Janonymous Jeremy Stanley +Louis Taylor Monty Taylor Sebastian Kalinowski diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/requests-mock-0.7.0/ChangeLog new/requests-mock-1.0.0/ChangeLog --- old/requests-mock-0.7.0/ChangeLog 2015-11-24 02:31:04.0 +0100 +++ new/requests-mock-1.0.0/ChangeLog 2016-05-09 07:14:35.0 +0200 @@ -1,6 +1,17 @@ CHANGES === +1.0.0 +- + +* Add tox environment to run against master requests +* Change dev status classifier to stable +* Doc fixups +* Expose cert and proxies as attributes of the last request +* Add timeout and allow_retries to RequestProxy +* Fix py34 DB issue and remove py33/py26 +* Remove pypip.in badge from readme + 0.7.0 - diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/requests-mock-0.7.0/PKG-INFO new/requests-mock-1.0.0/PKG-INFO --- old/requests-mock-0.7.0/PKG-INFO2015-11-24 02:31:04.0 +0100 +++ new/requests-mock-1.0.0/PKG-INFO2016-05-09 07:14:35.0 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: requests-mock -Version: 0.7.0 +Version: 1.0.0 Summary: Mock out responses from the requests package Home-page: https://requests-mock.readthedocs.org/ Author: Jamie Lennox @@ -13,9 +13,6 @@ .. image:: https://badge.fury.io/py/requests-mock.png :target: http://badge.fury.io/py/requests-mock -.. image:: https://pypip.in/d/requests-mock/badge.png -:target: https://crate.io/packages/requests-mock?version=latest - Intro = @@ -98,7 +95,7 @@ Platform: UNKNOWN -Classifier: Development Status :: 3 - Alpha +Classifier: Development Status :: 5 - Production/Stable Classifier: Intended Audience :: Developers Classifier: Intended Audience :: Inform
commit python-requests-mock for openSUSE:Factory
Hello community, here is the log from the commit of package python-requests-mock for openSUSE:Factory checked in at 2015-12-16 17:42:27 Comparing /work/SRC/openSUSE:Factory/python-requests-mock (Old) and /work/SRC/openSUSE:Factory/.python-requests-mock.new (New) Package is "python-requests-mock" Changes: --- /work/SRC/openSUSE:Factory/python-requests-mock/python-requests-mock.changes 2015-07-02 22:47:16.0 +0200 +++ /work/SRC/openSUSE:Factory/.python-requests-mock.new/python-requests-mock.changes 2015-12-16 17:42:29.0 +0100 @@ -1,0 +2,9 @@ +Fri Dec 4 07:59:17 UTC 2015 - dmuel...@suse.com + +- update to 0.7.0: + * Support Cookies + * Expose Fake objects in compat + * Update .gitreview for new namespace + * Change ignore-errors to ignore_errors + +--- Old: requests-mock-0.6.0.tar.gz New: requests-mock-0.7.0.tar.gz Other differences: -- ++ python-requests-mock.spec ++ --- /var/tmp/diff_new_pack.57DVJT/_old 2015-12-16 17:42:30.0 +0100 +++ /var/tmp/diff_new_pack.57DVJT/_new 2015-12-16 17:42:30.0 +0100 @@ -17,7 +17,7 @@ Name: python-requests-mock -Version:0.6.0 +Version:0.7.0 Release:0 Summary:Mock out responses from the requests package License:Apache-2.0 ++ requests-mock-0.6.0.tar.gz -> requests-mock-0.7.0.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/requests-mock-0.6.0/.coveragerc new/requests-mock-0.7.0/.coveragerc --- old/requests-mock-0.6.0/.coveragerc 2015-01-19 05:29:41.0 +0100 +++ new/requests-mock-0.7.0/.coveragerc 2015-11-24 02:30:36.0 +0100 @@ -4,4 +4,4 @@ omit = requests_mock/tests/* [report] -ignore-errors = True +ignore_errors = True diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/requests-mock-0.6.0/AUTHORS new/requests-mock-0.7.0/AUTHORS --- old/requests-mock-0.6.0/AUTHORS 2015-01-19 05:29:55.0 +0100 +++ new/requests-mock-0.7.0/AUTHORS 2015-11-24 02:31:04.0 +0100 @@ -1,4 +1,5 @@ Ian Cordasco +Jamie Lennox Jamie Lennox Jeremy Stanley Monty Taylor diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/requests-mock-0.6.0/ChangeLog new/requests-mock-0.7.0/ChangeLog --- old/requests-mock-0.6.0/ChangeLog 2015-01-19 05:29:55.0 +0100 +++ new/requests-mock-0.7.0/ChangeLog 2015-11-24 02:31:04.0 +0100 @@ -1,6 +1,14 @@ CHANGES === +0.7.0 +- + +* Support Cookies +* Expose Fake objects in compat +* Update .gitreview for new namespace +* Change ignore-errors to ignore_errors + 0.6.0 - diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/requests-mock-0.6.0/PKG-INFO new/requests-mock-0.7.0/PKG-INFO --- old/requests-mock-0.6.0/PKG-INFO2015-01-19 05:29:56.0 +0100 +++ new/requests-mock-0.7.0/PKG-INFO2015-11-24 02:31:04.0 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: requests-mock -Version: 0.6.0 +Version: 0.7.0 Summary: Mock out responses from the requests package Home-page: https://requests-mock.readthedocs.org/ Author: Jamie Lennox diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/requests-mock-0.6.0/docs/response.rst new/requests-mock-0.7.0/docs/response.rst --- old/requests-mock-0.6.0/docs/response.rst 2015-01-19 05:29:42.0 +0100 +++ new/requests-mock-0.7.0/docs/response.rst 2015-11-24 02:30:36.0 +0100 @@ -34,6 +34,7 @@ :status_code: The HTTP status response to return. Defaults to 200. :reason: The reason text that accompanies the Status (e.g. 'OK' in '200 OK') :headers: A dictionary of headers to be included in the response. +:cookies: A CookieJar containing all the cookies to add to the response. To specify the body of the response there are a number of options that depend on the format that you wish to return. @@ -82,6 +83,7 @@ :headers: The dictionary of headers that are to be returned in the response. :status_code: The status code that is to be returned in the response. :reason: The string HTTP status code reason that is to be returned in the response. +:cookies: A :py:class:`requests_mock.CookieJar` of cookies that will be merged into the response. These parameters are populated initially from the variables provided to the :py:meth:`~requests_mock.Adapter.register_uri` function and if they are modified on the context object then those changes will be reflected in the response. @@ -130,3 +132,33 @@ >>> resp = session.get('mock://test.com/5') >>>