Add missing fixture (#8207)
Co-authored-by: Florian Bruhin <me@the-compiler.org> Co-authored-by: Bruno Oliveira <nicoddemus@gmail.com>
This commit is contained in:
parent
48c9a96a03
commit
5f11a35b99
|
@ -879,9 +879,9 @@ Here's what that might look like:
|
||||||
admin_client.delete_user(user)
|
admin_client.delete_user(user)
|
||||||
|
|
||||||
|
|
||||||
def test_email_received(receiving_user, email):
|
def test_email_received(sending_user, receiving_user, email):
|
||||||
email = Email(subject="Hey!", body="How's it going?")
|
email = Email(subject="Hey!", body="How's it going?")
|
||||||
sending_user.send_email(_email, receiving_user)
|
sending_user.send_email(email, receiving_user)
|
||||||
assert email in receiving_user.inbox
|
assert email in receiving_user.inbox
|
||||||
|
|
||||||
Because ``receiving_user`` is the last fixture to run during setup, it's the first to run
|
Because ``receiving_user`` is the last fixture to run during setup, it's the first to run
|
||||||
|
|
Loading…
Reference in New Issue