FlaskTester 3.2__tar.gz → 3.3__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {FlaskTester-3.2 → FlaskTester-3.3}/FlaskTester.egg-info/PKG-INFO +5 -1
- {FlaskTester-3.2 → FlaskTester-3.3}/FlaskTester.py +2 -2
- {FlaskTester-3.2 → FlaskTester-3.3}/PKG-INFO +5 -1
- {FlaskTester-3.2 → FlaskTester-3.3}/README.md +4 -0
- {FlaskTester-3.2 → FlaskTester-3.3}/pyproject.toml +1 -1
- {FlaskTester-3.2 → FlaskTester-3.3}/FlaskTester.egg-info/SOURCES.txt +0 -0
- {FlaskTester-3.2 → FlaskTester-3.3}/FlaskTester.egg-info/dependency_links.txt +0 -0
- {FlaskTester-3.2 → FlaskTester-3.3}/FlaskTester.egg-info/requires.txt +0 -0
- {FlaskTester-3.2 → FlaskTester-3.3}/FlaskTester.egg-info/top_level.txt +0 -0
- {FlaskTester-3.2 → FlaskTester-3.3}/LICENSE +0 -0
- {FlaskTester-3.2 → FlaskTester-3.3}/MANIFEST.in +0 -0
- {FlaskTester-3.2 → FlaskTester-3.3}/setup.cfg +0 -0
- {FlaskTester-3.2 → FlaskTester-3.3}/tests/test.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: FlaskTester
|
|
3
|
-
Version: 3.
|
|
3
|
+
Version: 3.3
|
|
4
4
|
Summary: Pytest fixtures for Flask internal and external authenticated tests
|
|
5
5
|
Author-email: Fabien Coelho <flask.tester@coelho.net>
|
|
6
6
|
License: CC0
|
|
@@ -248,6 +248,10 @@ Packages are distributed from [PyPI](https://pypi.org/project/FlaskTester/),
|
|
|
248
248
|
see also the [documentation](https://zx80.github.io/flask-tester/),
|
|
249
249
|
please report any [issues](https://github.com/zx80/flask-tester/issues).
|
|
250
250
|
|
|
251
|
+
### 3.3 on 2024-03-25
|
|
252
|
+
|
|
253
|
+
Fix missing parameter on `check` to ensure upward compatibility.
|
|
254
|
+
|
|
251
255
|
### 3.2 on 2024-03-24
|
|
252
256
|
|
|
253
257
|
Improved documentation.
|
|
@@ -359,13 +359,13 @@ class Client:
|
|
|
359
359
|
"""HTTP DELETE request."""
|
|
360
360
|
return self.request("DELETE", path, **kwargs)
|
|
361
361
|
|
|
362
|
-
def check(self, method: str, path: str, status: int, **kwargs):
|
|
362
|
+
def check(self, method: str, path: str, status: int, content: str|None = None, **kwargs):
|
|
363
363
|
"""Run a query and check the response status.
|
|
364
364
|
|
|
365
365
|
Same as ``request``, but ``status`` is mandatory.
|
|
366
366
|
"""
|
|
367
367
|
|
|
368
|
-
return self.request(method, path, status=status, **kwargs)
|
|
368
|
+
return self.request(method, path, status=status, content=content, **kwargs)
|
|
369
369
|
|
|
370
370
|
|
|
371
371
|
class RequestClient(Client):
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: FlaskTester
|
|
3
|
-
Version: 3.
|
|
3
|
+
Version: 3.3
|
|
4
4
|
Summary: Pytest fixtures for Flask internal and external authenticated tests
|
|
5
5
|
Author-email: Fabien Coelho <flask.tester@coelho.net>
|
|
6
6
|
License: CC0
|
|
@@ -248,6 +248,10 @@ Packages are distributed from [PyPI](https://pypi.org/project/FlaskTester/),
|
|
|
248
248
|
see also the [documentation](https://zx80.github.io/flask-tester/),
|
|
249
249
|
please report any [issues](https://github.com/zx80/flask-tester/issues).
|
|
250
250
|
|
|
251
|
+
### 3.3 on 2024-03-25
|
|
252
|
+
|
|
253
|
+
Fix missing parameter on `check` to ensure upward compatibility.
|
|
254
|
+
|
|
251
255
|
### 3.2 on 2024-03-24
|
|
252
256
|
|
|
253
257
|
Improved documentation.
|
|
@@ -205,6 +205,10 @@ Packages are distributed from [PyPI](https://pypi.org/project/FlaskTester/),
|
|
|
205
205
|
see also the [documentation](https://zx80.github.io/flask-tester/),
|
|
206
206
|
please report any [issues](https://github.com/zx80/flask-tester/issues).
|
|
207
207
|
|
|
208
|
+
### 3.3 on 2024-03-25
|
|
209
|
+
|
|
210
|
+
Fix missing parameter on `check` to ensure upward compatibility.
|
|
211
|
+
|
|
208
212
|
### 3.2 on 2024-03-24
|
|
209
213
|
|
|
210
214
|
Improved documentation.
|
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "FlaskTester"
|
|
7
|
-
version = "3.
|
|
7
|
+
version = "3.3"
|
|
8
8
|
authors = [ { name = "Fabien Coelho", email = "flask.tester@coelho.net" } ]
|
|
9
9
|
description = "Pytest fixtures for Flask internal and external authenticated tests"
|
|
10
10
|
readme = "README.md"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|