Skip to content
This repository was archived by the owner on Nov 19, 2023. It is now read-only.

Commit 18d555e

Browse files
skarzisondrelg
andauthored
docs: apply suggestions from code review
Co-authored-by: Sondre Lillebø Gundersen <sondrelg@live.no>
1 parent c50498d commit 18d555e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ error.
194194

195195
## Django testing client
196196

197-
`OpenAPIClient` extends Django REST framework
197+
The library includes an `OpenAPIClient`, which extends Django REST framework's
198198
[`APIClient` class](https://www.django-rest-framework.org/api-guide/testing/#apiclient).
199199
If you wish to validate each response against OpenAPI schema when writing
200200
unit tests - `OpenAPIClient` is what you need!
@@ -209,7 +209,7 @@ client = OpenAPIClient(schema_tester=schema_tester)
209209
response = client.get('/api/v1/tests/123/')
210210
```
211211

212-
To enforce all developers working on the project to use `OpenAPIClient` simply
212+
To force all developers working on the project to use `OpenAPIClient` simply
213213
override the `client` fixture (when using `pytest-django`) or provide custom
214214
test cases implementation (when using standard Django `unitest`-based approach)
215215
and then you will be sure all newly implemented views will be validated against

0 commit comments

Comments
 (0)