5 Commits

Author SHA1 Message Date
Jamie Lennox
aa3e87c4ee Add a releasenote for additional_matcher
It really should have gone in with the review that implemented the
feature but better late than never.

Change-Id: Iafcfd17b9ddad8c09d66aadb6eda6f5603c23b8b
2017-02-01 16:13:52 +11:00
Jenkins
c105f1cae2 Merge "Enable case sensitive matching" 2016-09-14 04:09:28 +00:00
Jamie Lennox
0c6e567ec7 Add a called_once property to adapter
Mock has a useful feature called assert_called_once. We don't have the
asserts here, but having called_once as a property is an easy way to
emulate this.

Change-Id: I59dfb53830195e73884fa0ca8a43b1de91fa1425
2016-09-02 05:56:17 +00:00
Jamie Lennox
1b08dcc705 Enable case sensitive matching
When matching URLs both strings are always lowercased to provide case
insensitive matching. Whilst this makes sense for the protocol and the
host names it does not necessarily hold true for paths and query
strings.

A byproduct of this is that the lowercased strings are being reported in
request_history which makes it harder to verify requests you made.

We enable globally and per adapter setting case sensitive matching. This
is intended to become the default in future releases.

Change-Id: I7bde70a52995ecf31a0eaeff96f2823a1a6682b2
Closes-Bug: #1584008
2016-08-26 11:54:50 +10:00
Jamie Lennox
6df03ed3d0 Provide fixture extras for pip
Allow installing the additional requirements for using the fixture
contrib module using pip extras.

Closes-Bug: #1501665
Change-Id: I20510d8db35c3cfdc0bc2892675b04d224027c7e
2016-08-25 17:48:18 +10:00