human
Complete this python program:
def generate_conflicting_plot_options_in_signin():
assistant
#Here is the Python code you requested.

    """sign_in overrides the default plot options.
    conflicting options aren\t raised until plot or iplot is called,
    through _plot_option_logic
    """
    def gen_test(plot_options):
        def test(self):
            py.sign_in('username', 'key', **plot_options)
            self.assertRaises(PlotlyError, py._plot_option_logic, {})
        return test
    for (i, plot_options) in enumerate(TestPlotOptionLogic.conflicting_option_set):
        setattr(TestPlotOptionLogic, 'test_conflicting_plot_options_in_signin_{}'.format(i), gen_test(plot_options))