We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ae9e1c1 commit a5137f2Copy full SHA for a5137f2
docs/changelog.rst
@@ -3,9 +3,22 @@
3
Changelog
4
=========
5
6
+0.13.0 (2018-09-29)
7
+-------------------
8
-0.12.0 (2018-09-06, compared to 0.10.0)
----------------------------------------
9
+- ``JSONReponse`` now supports comparison directly with status codes:
10
+
11
+ .. code-block:: python
12
13
+ assert client.get('invalid-route', headers=[('Accept', 'application/json')]) == 404
14
15
+ Thanks `@dusktreader`_ for the PR (`#86`_).
16
17
+.. _@dusktreader: https://github.com/dusktreader
18
+.. _#86: https://github.com/pytest-dev/pytest-flask/pull/86
19
20
+0.12.0 (2018-09-06)
21
22
23
- ``pytest-flask`` now requires ``pytest>=3.6`` (`#84`_).
24
0 commit comments