-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* For the ``$ENVIRON`` and ``$RESPONSE`` :ref:`substitutions <state-substitution>` it is now possible to :ref:`cast <casting>` the value to a type of ``int``, ``float``, ``str``, or ``bool``. * The ``JSONHandler`` is now more strict about how it detects that a body content is JSON, avoiding some errors where the content-type header suggests JSON but the content cannot be decoded as such. * Better error message when content cannot be decoded. * Addition of the ``disable_response_handler`` test setting for those cases when the test author has no control over the content-type header and it is wrong.
- Loading branch information
Showing
3 changed files
with
16 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,4 +12,4 @@ | |
# under the License. | ||
"""See gabbi.driver and gabbbi.case.""" | ||
|
||
__version__ = '2.2.0' | ||
__version__ = '2.3.0' |