Merge pull request #3658 from edx/opaque-keys-location-to-son

Opaque keys location to son
This commit is contained in:
Don Mitchell
2014-05-09 10:48:51 -04:00
6 changed files with 27 additions and 46 deletions

View File

@@ -10,7 +10,7 @@ class Content:
self.content = content
def get_id(self):
return StaticContent.get_id_from_location(self.location)
return self.location.to_deprecated_son()
class CachingTestCase(TestCase):