Skip to content
This repository has been archived by the owner on Oct 24, 2023. It is now read-only.

Commit

Permalink
last-minute tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshKarpel committed Dec 8, 2022
1 parent ef4d2f9 commit c8b4b1e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
1 change: 0 additions & 1 deletion talk/examples/parametrization/ex_2.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,4 @@ def database(request):


def test_database(database):
print(database)
assert False
4 changes: 2 additions & 2 deletions talk/examples/parametrization/ex_3.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ def database(request):
"ed",
]
)
def username():
return "josh"
def username(request):
return request.param


def test_something(database, username):
Expand Down
3 changes: 1 addition & 2 deletions talk/examples/plugins/ex_1.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# pytest-mock wraps the stdlib unittest.mock module,
# plus some extras!
# pytest-mock wraps the stdlib unittest.mock module


class C:
Expand Down

0 comments on commit c8b4b1e

Please sign in to comment.