pytest-api-cov 0.1.2__py3-none-any.whl → 0.1.3__py3-none-any.whl
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.
- pytest_api_cov/cli.py +10 -2
- {pytest_api_cov-0.1.2.dist-info → pytest_api_cov-0.1.3.dist-info}/METADATA +1 -1
- {pytest_api_cov-0.1.2.dist-info → pytest_api_cov-0.1.3.dist-info}/RECORD +6 -6
- {pytest_api_cov-0.1.2.dist-info → pytest_api_cov-0.1.3.dist-info}/WHEEL +0 -0
- {pytest_api_cov-0.1.2.dist-info → pytest_api_cov-0.1.3.dist-info}/entry_points.txt +0 -0
- {pytest_api_cov-0.1.2.dist-info → pytest_api_cov-0.1.3.dist-info}/licenses/LICENSE +0 -0
pytest_api_cov/cli.py
CHANGED
@@ -61,8 +61,16 @@ from {module_path} import {app_variable}
|
|
61
61
|
|
62
62
|
|
63
63
|
@pytest.fixture
|
64
|
-
def
|
65
|
-
"""Provide the {framework}
|
64
|
+
def client():
|
65
|
+
"""Provide the {framework} client for API coverage testing.
|
66
|
+
|
67
|
+
In your test:
|
68
|
+
```
|
69
|
+
def test_root_endpoint(client):
|
70
|
+
response = client.get("/")
|
71
|
+
assert response.status_code == 200
|
72
|
+
```
|
73
|
+
"""
|
66
74
|
return {app_variable}
|
67
75
|
'''
|
68
76
|
|
@@ -1,13 +1,13 @@
|
|
1
1
|
pytest_api_cov/__init__.py,sha256=o5esC2mfxHTQ7_KBZPGipOQ1OrTTeb-WeE8zPdVzQj8,175
|
2
|
-
pytest_api_cov/cli.py,sha256=
|
2
|
+
pytest_api_cov/cli.py,sha256=vEkVCFKxxOUo_-vUCMuo5u49aAT9aHZ5EU5JcCBuqfc,6383
|
3
3
|
pytest_api_cov/config.py,sha256=cB8N9bpkGmYhXLW3QL08atJy3ukC1vJcSD2qc8tRol0,3166
|
4
4
|
pytest_api_cov/frameworks.py,sha256=5d6wnEsb2BykPtpnpkv98GMPuyoG4elXRJ7vtGHF06A,3228
|
5
5
|
pytest_api_cov/models.py,sha256=YiXLiEEyNREiodzn1pGqSNIHrm3zV6kFn0XgyN8_8Rs,4893
|
6
6
|
pytest_api_cov/plugin.py,sha256=Sa4tWSXmwcXDmxRSAwlM6n4RjU-HqY3S9G8Esicy2nw,11078
|
7
7
|
pytest_api_cov/pytest_flags.py,sha256=aH-MpUQCX7JdPA7f_Qulf0HzOtFpyTqDbHFDy48epOg,1949
|
8
8
|
pytest_api_cov/report.py,sha256=VxfWag20V8o9ArbxOkR_gWQ2TE-sthrS0PCJvn4YCSU,6642
|
9
|
-
pytest_api_cov-0.1.
|
10
|
-
pytest_api_cov-0.1.
|
11
|
-
pytest_api_cov-0.1.
|
12
|
-
pytest_api_cov-0.1.
|
13
|
-
pytest_api_cov-0.1.
|
9
|
+
pytest_api_cov-0.1.3.dist-info/METADATA,sha256=LZpDjXcK07vR5sogdCfrwpDKj5GlCBcTgvGhFpixI2I,7528
|
10
|
+
pytest_api_cov-0.1.3.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
11
|
+
pytest_api_cov-0.1.3.dist-info/entry_points.txt,sha256=hWqEhsBKzbwSwcxCzKgSA8NElQxk0K4PKERrYsi3csk,110
|
12
|
+
pytest_api_cov-0.1.3.dist-info/licenses/LICENSE,sha256=HrhfyXIkWY2tGFK11kg7vPCqhgh5DcxleloqdhrpyMY,11558
|
13
|
+
pytest_api_cov-0.1.3.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|