2hands10fingers / Reddit-Image-Scraper-1.0

Scrapes/downloads a selected subreddit's posted images by a specified date range on http://reddit.com
http://www.glotacosm.com
48 stars 13 forks source link

Creates a functional test for the script #17

Closed tjcim closed 6 years ago

tjcim commented 6 years ago

This adds a bit of information the the output of the script (total files downloaded) and adds a tests folder with a functional test of the script.

To run the test, make sure you have pytest installed in the active virtualenv and run pytest. Pytest will find the functional test and run it.