Commit 9440235a by Chris Dodge Committed by David Baumgold

actually look for an image to verify that a thumbnail has been generated

parent 59b423ee
......@@ -145,7 +145,7 @@ class ImportRequiredTestCases(ContentStoreTestCase):
all_thumbnails = content_store.get_all_content_thumbnails_for_course(course.id)
self.assertGreater(len(all_thumbnails), 0)
location = AssetLocation.from_deprecated_string('/c4x/edX/toy/asset/sample_static.txt')
location = AssetLocation.from_deprecated_string('/c4x/edX/toy/asset/just_a_test.jpg')
content = content_store.find(location)
self.assertIsNotNone(content)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment