'Test that library keys coming out of MixedModuleStore are stripped of
branch and version info by default.'

def test_strip(self):

    lib_key = LibraryFactory.create(modulestore=self.store).location.library_key
    lib = self.store.get_library(lib_key)
    self.assertEqual(lib.location.version_guid, None)
    self.assertEqual(lib.location.branch, None)
    self.assertEqual(lib.location.library_key.version_guid, None)
    self.assertEqual(lib.location.library_key.branch, None)
