Update xblock requirement to 1.0.0.

This commit is contained in:
J. Cliff Dyer
2016-08-17 16:52:20 -04:00
parent 9c6d94ada0
commit c61f2ddc69
7 changed files with 21 additions and 20 deletions

View File

@@ -212,7 +212,7 @@ class UnitTestLibraries(CourseTestCase):
response = self.client.get(make_url_for_lib(lib.location.library_key))
self.assertEqual(response.status_code, 200)
self.assertIn("<html", response.content)
self.assertIn(lib.display_name, response.content)
self.assertIn(lib.display_name.encode('utf-8'), response.content)
@ddt.data('library-v1:Nonexistent+library', 'course-v1:Org+Course', 'course-v1:Org+Course+Run', 'invalid')
def test_invalid_keys(self, key_str):