pytest-api-cov 0.1.2__tar.gz → 1.0.0__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pytest-api-cov
3
- Version: 0.1.2
3
+ Version: 1.0.0
4
4
  Summary: Api Coverage Report Pytest Plugin
5
5
  Author-email: Barnaby Gill <barnabasgill@gmail.com>
6
6
  License: Apache-2.0
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "pytest-api-cov"
3
- version = "0.1.2"
3
+ version = "1.0.0"
4
4
  description = "Api Coverage Report Pytest Plugin"
5
5
  readme = "README.md"
6
6
  authors = [
@@ -61,8 +61,16 @@ from {module_path} import {app_variable}
61
61
 
62
62
 
63
63
  @pytest.fixture
64
- def app():
65
- """Provide the {framework} app for API coverage testing."""
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
 
File without changes
File without changes