'The overridden settings for this class get cached on class variables.
Reset those to None before and after running the test to ensure clean
behavior.'

def reset_setting_cache_variables(self):

    OverrideFieldData.provider_classes = None
    OverrideModulestoreFieldData.provider_classes = None
