Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Ori-Roza committed May 3, 2024
1 parent 5247e28 commit 728397b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ pip install drf-api-action

### To use `drf-api-action` as a Pytest fixture, you need to follow these steps:

#### Step 1: Import the Required Classes and our fixture
#### Step 1: Import your Viewsets explicitly:

```python
import pytest
Expand Down Expand Up @@ -77,6 +77,7 @@ def test_call_as_api_fixture(db, action_api):
assert res["dummy_int"] == 1

```
Here as an example, the real exception and trace will be thrown, make it easy to understand what the issue is:

```python
import pytest
Expand Down

0 comments on commit 728397b

Please sign in to comment.