-
Notifications
You must be signed in to change notification settings - Fork 50
Open
Labels
📕 docsdocumentation neededdocumentation needed
Description
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:
# Function in my application
async def myfunc():
call_some_other_func()
await aiosmtplib.send(...)
# Unit testing with PyTest
@pytest.mark.asyncio
async def test_myfunc():
# what goes here?
hf-kklein
Metadata
Metadata
Assignees
Labels
📕 docsdocumentation neededdocumentation needed