diff --git a/unisportomat/course_scraper/test_course_scraper.py b/unisportomat/course_scraper/test_course_scraper.py index 17df4369b844ce2890b81dae7fe42cb9f0621b9c..4bac400bef4d091c7455c7cdd91c125c46fd0340 100644 --- a/unisportomat/course_scraper/test_course_scraper.py +++ b/unisportomat/course_scraper/test_course_scraper.py @@ -1,10 +1,23 @@ +""" +Testing module, yo. Just for the course_scraper.py. +""" from django.test import TestCase -from course_scraper import fetch_website, scraping +from course_scraper import scraping #, fetch_website class ScraperTestCase(TestCase): + """ + Just a few tests, so pylint isn't getting a fit. + Because reasons. + """ def test_returns_dict(self): + """ + Testing return type of scraping(). + """ self.assertIsInstance(scraping(), dict) def test_dict_not_empty(self): + """ + Testing if dict is not empty. + """ self.assertTrue(len(scraping()) > 0)