id,summary,reporter,owner,description,type,status,component,version,severity,resolution,keywords,cc,stage,has_patch,needs_docs,needs_tests,needs_better_patch,easy,ui_ux 20291,Add method to reload `AppCache`,Vlastimil Zíma,nobody,"Some tests require test application, e.g. [https://github.com/django/django/blob/master/tests/proxy_model_inheritance/tests.py proxy_model_inheritance]. Adding test application is simple, but removing is not so simple. I propose addition of new method which would clean caches and repopulate them. {{{ #!python def reload(self): # Clean cache self._get_models_cache.clear() self.handled.clear() # Mark cache is empty self.loaded = False # Populate cache again self._populate() }}}",New feature,closed,Testing framework,dev,Normal,duplicate,,,Unreviewed,0,0,0,0,0,0