Incorporate beautifulsoup4 in webpage tests
There is a nice python package called beautifulsoup4 which allows the user to scrape information from webpages. If I test that the individual functions in webpages.py
work as expected, then when I test that the main script runs I can check that there are the correct number of image tags, check that each <div>
has an </div>
etc.