- 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

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests-mock?expand=0&rev=39
This commit is contained in:
Dirk Mueller 2020-06-14 09:12:09 +00:00 committed by Git OBS Bridge
parent 9c6c301856
commit 8e347acd47
4 changed files with 35 additions and 5 deletions

View File

@ -1,3 +1,33 @@
-------------------------------------------------------------------
Sun Jun 14 09:11:15 UTC 2020 - Dirk Mueller <dmueller@suse.com>
- 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
-------------------------------------------------------------------
Sun Sep 15 11:17:30 UTC 2019 - Jan Engelhardt <jengelh@inai.de>

View File

@ -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

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:88d3402dd8b3c69a9e4f9d3a73ad11b15920c6efd36bc27bf1f701cf4a8e4646
size 51705

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:e68f46844e4cee9d447150343c9ae875f99fa8037c6dcf5f15bf1fe9ab43d226
size 59794