'Restores deprecated values'

@classmethod
def tearDownClass(cls):

    if (cls.asset_deprecated is not None):
        AssetLocator.deprecated = cls.asset_deprecated
    else:
        del AssetLocator.deprecated
    if (cls.ssck_deprecated is not None):
        CourseLocator.deprecated = cls.ssck_deprecated
    else:
        del CourseLocator.deprecated
    return super(TestContentstore, cls).tearDownClass()
