Skip to content

Commit

Permalink
Typo
Browse files Browse the repository at this point in the history
  • Loading branch information
simonw authored Aug 13, 2024
1 parent d33f73e commit 5d896c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion django/pytest-django.md
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ def test_debug_view():
assert response.content == b"Test content"
assert response["Content-Type"] == "text/plain"
```
This uses `@pytest.mark.django_db` to ensure the Django databsae is configured (and then cleared) for that test. It uses the Django test client to exercise an endpoint, and the Django ORM to populate the database.
This uses `@pytest.mark.django_db` to ensure the Django database is configured (and then cleared) for that test. It uses the Django test client to exercise an endpoint, and the Django ORM to populate the database.

## Configuring django-pytest

Expand Down

0 comments on commit 5d896c9

Please sign in to comment.