Commit Graph

23 Commits

Author SHA256 Message Date
1247936292 Accepting request 854221 from home:bnavigator:branches:devel:languages:python
- Support TW with multiple python3 flavors
  * gh#openSUSE/python-rpm-macros#66
  * fix BuildRequires
  * fix %python_expand $python executable replacement

OBS-URL: https://build.opensuse.org/request/show/854221
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests-mock?expand=0&rev=41
2020-12-09 11:58:26 +00:00
8e347acd47 - 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
2020-06-14 09:12:09 +00:00
Tomáš Chvátal
9c6c301856 Accepting request 731078 from home:jengelh:branches:devel:languages:python
- Use noun phrsae in summary.

OBS-URL: https://build.opensuse.org/request/show/731078
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests-mock?expand=0&rev=37
2019-09-16 07:32:26 +00:00
Tomáš Chvátal
da1dc4a45a - Update to 1.7.0:
* support for purl

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests-mock?expand=0&rev=36
2019-09-10 10:49:45 +00:00
Tomáš Chvátal
3c9fd22b51 - Update to 1.6.0:
* Various fkale8 and tests fixes
- Run also pytest tests
- Fixup the requirements for testing
- Fix fdupes call

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests-mock?expand=0&rev=34
2019-06-07 11:55:11 +00:00
Tomáš Chvátal
c701d9f6f2 Accepting request 701322 from home:pgajdos
- 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

OBS-URL: https://build.opensuse.org/request/show/701322
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests-mock?expand=0&rev=32
2019-05-07 13:47:22 +00:00
Thomas Bechtold
0349cb3d07 - update to 0.27.4:
- New `pygit2.LIBGIT2_VER` tuple
  - New objects now support (in)equality comparison and hash
  - New references now support (in)equality comparison
  - New `paths` optional argument in `Repository.checkout()`
  - Fix speed and windows package regression
  - Fix deprecation warning
  - Documentation fixes
  - Add Python classifiers to setup.py
  - Speeding up tests in Travis
  - Breaking changes:
    - Remove deprecated `Reference.get_object()`, use `Reference.peel()` instead
  - Move to pytest, drop support for Python 3.3 and cffi 0.x
  - New support comparing signatures for (in)equality
  - New ``Submodule.head_id``
  - New ``Remote.prune(...)``
  - New ``pygit2.reference_is_valid_name(...)``
  - New ``AlreadyExistsError`` and ``InvalidSpecError``
  - New ``Reference.raw_name``, ``Reference.raw_shorthand``, ``Tag.raw_name``,
  - Fix decode error in commit messages and signatures
  - Fix, raise error in ``Repository.descendant_of(...)`` if commit doesn't exist
  - Documentation fixes
  - Breaking changes:
    - Remove undocumented ``Tag._message``, replaced by ``Tag.raw_message``
  - Add support for Python 3.7
  - New ``Object.short_id``
  - New ``Repository.descendant_of`` and ``Repository.branches.with_commit``
  - Fix repository initialization in ``clone_repository(...)``
  - Fix several warnings and errors, commits
  - Documentation fixes and improvements

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests-mock?expand=0&rev=30
2019-03-07 15:02:13 +00:00
c742703d5b Clean up the SPEC file
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests-mock?expand=0&rev=28
2018-12-04 17:21:24 +00:00
a2780e4859 Remove superfluous devel dependency for noarch package
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests-mock?expand=0&rev=27
2018-12-04 13:59:54 +00:00
Todd R
fa3140f8c1 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests-mock?expand=0&rev=26 2018-11-08 17:34:22 +00:00
Todd R
068f8f57e0 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests-mock?expand=0&rev=23 2018-11-08 17:27:48 +00:00
Todd R
3bb1ea93e7 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests-mock?expand=0&rev=22 2018-11-08 17:24:40 +00:00
Todd R
02d5387066 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests-mock?expand=0&rev=19 2018-11-08 17:22:24 +00:00
Thomas Bechtold
999f5d0196 - 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

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests-mock?expand=0&rev=17
2018-02-23 13:54:29 +00:00
c01ec2a74a - fix build for SLE12
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests-mock?expand=0&rev=15
2017-06-14 16:37:25 +00:00
651feb7a20 - 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

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests-mock?expand=0&rev=14
2017-06-10 07:49:07 +00:00
454fadbebe Accepting request 499458 from home:sebix:branches:devel:languages:python
singlespec required by Request#498334

OBS-URL: https://build.opensuse.org/request/show/499458
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests-mock?expand=0&rev=12
2017-06-06 08:24:19 +00:00
e42438930b Accepting request 453417 from home:tbechtold:branches:devel:languages:python
- 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

OBS-URL: https://build.opensuse.org/request/show/453417
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests-mock?expand=0&rev=10
2017-01-30 15:33:58 +00:00
1b9101db59 Accepting request 430714 from home:tbechtold:branches:devel:languages:python
- 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

OBS-URL: https://build.opensuse.org/request/show/430714
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests-mock?expand=0&rev=8
2016-09-28 16:32:09 +00:00
5606e447f0 - fix source url
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests-mock?expand=0&rev=6
2016-07-08 08:55:36 +00:00
f044b20d78 Accepting request 406991 from home:tbechtold:branches:devel:languages:python
- 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

OBS-URL: https://build.opensuse.org/request/show/406991
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests-mock?expand=0&rev=5
2016-07-06 16:17:27 +00:00
c916591998 - update to 0.7.0:
* Support Cookies
  * Expose Fake objects in compat
  * Update .gitreview for new namespace
  * Change ignore-errors to ignore_errors

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests-mock?expand=0&rev=3
2015-12-04 08:01:04 +00:00
Denisart Benjamin
a4a37f01e3 Accepting request 298197 from Cloud:OpenStack:Master
Initial packaging

OBS-URL: https://build.opensuse.org/request/show/298197
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests-mock?expand=0&rev=1
2015-04-24 14:30:55 +00:00