implemented method for retrieving ALL videos from a channel, not just the first 1000, increased robustness of make_requests wrapper, added missing unit tests

This commit is contained in:
Tristan Lee
2022-04-12 22:46:51 -05:00
parent 71eecf7c9e
commit bcb68a17fb
3 changed files with 106 additions and 39 deletions

View File

@@ -50,4 +50,15 @@ def test_get_recommended(resources):
def test_process_raw_comment_info(resources):
base.process_raw_comment_info(raw_comment_info = resources['full_comment_info'])
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++#
class TestRecommendationEngine:
@pytest.fixture(autouse=True)
def test_simple_init(self, resources):
self.engine = base.RecommendationEngine(channel_list = [resources['channel_name']])
def test_generate(self):
self.engine.generate(iterations = 1)
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++#