You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I know issues might not be the best place to ask this, but I can't seem to find anything online. Any assistance is greatly appreciated!
How might someone write a unit test in PyTest to test a function that calls aiosmtplib.send() inside it?
For example:
# Function in my applicationasyncdefmyfunc():
call_some_other_func()
awaitaiosmtplib.send(...)
# Unit testing with PyTest@pytest.mark.asyncioasyncdeftest_myfunc():
# what goes here?
The text was updated successfully, but these errors were encountered:
Good evening,
I know issues might not be the best place to ask this, but I can't seem to find anything online. Any assistance is greatly appreciated!
How might someone write a unit test in PyTest to test a function that calls
aiosmtplib.send()
inside it?For example:
The text was updated successfully, but these errors were encountered: