Skip to content

FengJi2021/async_request_unittest

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

async_request_unittest

Do unittest for asynchroneous request with aiohttp and asynchroneous file reading with aiofiles in framework of pytest.

How to use

Install the dependencies:

pip3 install -r requirements.txt

Run the following command in the root directory of the project:

python3 -m pytest

What is new here

  • Mock a asynchroneous response to test a aiohttp request

  • Mock a asynchroneous file reading to test a aiofiles reading

What to do next

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages