Skip to content

Commit 6e5e067

Browse files
committed
fix test_ names
1 parent cbd04b7 commit 6e5e067

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/pages/principles/testing.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -358,7 +358,7 @@ and logical breaks in the path when we transition from the local module
358358
namespace into an imported dependency's namespace, like so:
359359

360360
```python
361-
def test_(mocker):
361+
def test_func(mocker):
362362
mock_sum = mocker.patch(
363363
"project.lib.np.sum"
364364
) # you'll need to patch the alias'd namespace
@@ -375,7 +375,7 @@ now you simply need to patch the imported function in the context of the
375375
file-under-test:
376376

377377
```python
378-
def test_(mocker):
378+
def test_func(mocker):
379379
np_sum = mocker.patch("project.lib.np_sum")
380380
...
381381
```

0 commit comments

Comments
 (0)