human
Complete the below
def generate_conflicting_plot_options_in_tools_dot_set_config():

    ''''tls.set_config overrides the default plot options.
    conflicting options are actually raised when the options are saved,
    because we push out default arguments for folks, and we don\'t want to
    require users to specify both world_readable and secret *and* we don\'t
    want to raise an error if they specified only one of these options
    and didn\'t know that a default option was being saved for them.'
    '''

=====
What is a the Python program you requested?
assistant
#Here is the Python program you requested.
    def gen_test(plot_options):
        def test(self):
            self.assertRaises(PlotlyError, tls.set_config_file, **plot_options)
        return test
    for (i, plot_options) in enumerate(TestPlotOptionLogic.conflicting_option_set):
        setattr(TestPlotOptionLogic, 'test_conflicting_plot_options_in_tools_dot_set_config{}'.format(i), gen_test(plot_options))