def cleanup_runtime_modules(): """ Makes app to forget previously faked modules which ensures proper plugins initialization if not starting from scratch. """ plugins.flush_plugins()