'Test get_all_content_for_course'

@ddt.data(True, False)
def test_get_all_content(self, deprecated):

    self.set_up_assets(deprecated)
    (course1_assets, count) = self.contentstore.get_all_content_for_course(self.course1_key)
    self.assertEqual(count, len(self.course1_files), course1_assets)
    for asset in course1_assets:
        parsed = AssetKey.from_string(asset['filename'])
        self.assertIn(parsed.name, self.course1_files)
    (course1_assets, __) = self.contentstore.get_all_content_for_course(self.course1_key, 1, 1)
    self.assertEqual(len(course1_assets), 1, course1_assets)
    fake_course = CourseLocator('test', 'fake', 'non')
    (course_assets, count) = self.contentstore.get_all_content_for_course(fake_course)
    self.assertEqual(count, 0)
    self.assertEqual(course_assets, [])
