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

Commit 4b17e2a

Browse files
committed
docs: add more info about client usage with django testcase
1 parent 38745f2 commit 4b17e2a

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
@@ -233,7 +233,7 @@ def client(schema_tester):
233233
```
234234

235235
If you are using plain Django test framework, we suggest to create custom
236-
test case implementation:
236+
test case implementation and use it instead of original Django one:
237237

238238
```python
239239
import functools
@@ -245,7 +245,7 @@ from openapi_tester.schema_tester import SchemaTester
245245
schema_tester = SchemaTester()
246246

247247

248-
class MyTestCase(SimpleTestCase):
248+
class MySimpleTestCase(SimpleTestCase):
249249
client_class = functools.partial(OpenAPIClient, schema_tester=schema_tester)
250250
```
251251

0 commit comments

Comments
 (0)