def update_function_values(self, core_module):
        for function_widget in self.function_widgets:
            for f in core_module.functions:
                if f.name == function_widget.function.name:
                    value = [p.strValue for p in f.params]
                    if function_widget.getContents() != value:
                        function_widget.setContents(value)
                    continue
Test the ability to replace scopes on an authorization.
dataset/ETHPy150Open VisTrails/VisTrails/vistrails/gui/pipeline_view.py/QGraphicsModuleItem.update_function_values--crossover with--dataset/ETHPy150Open sigmavirus24/github3.py/tests/integration/test_auths.py/TestAuthorization.test_replace_scopes