hundreds-breakfast-49010
08/13/2019, 11:32 PMset_options_for_scope is the right wayaloof-angle-91616
08/13/2019, 11:32 PMhundreds-breakfast-49010
08/13/2019, 11:32 PMaloof-angle-91616
08/13/2019, 11:33 PMhundreds-breakfast-49010
08/13/2019, 11:33 PMset_options_for_scope all around the codebase already, then it probably should continue to work with rulesaloof-angle-91616
08/13/2019, 11:34 PMhundreds-breakfast-49010
08/13/2019, 11:34 PMhundreds-breakfast-49010
08/13/2019, 11:34 PMargs param is doing, just that it makes the test I wrote stop failingaloof-angle-91616
08/13/2019, 11:36 PMargs param you're referring to herehappy-kitchen-89482
08/13/2019, 11:44 PMConsoleRuleTestBase.execute_rule()happy-kitchen-89482
08/13/2019, 11:44 PMhappy-kitchen-89482
08/13/2019, 11:45 PMhundreds-breakfast-49010
08/13/2019, 11:46 PMhappy-kitchen-89482
08/13/2019, 11:46 PMargs and env passed in to ithundreds-breakfast-49010
08/13/2019, 11:47 PMarg parameter to assert_console_output or do whatever needs to be done to make set_options_for_scope work for v2 ruleshappy-kitchen-89482
08/13/2019, 11:47 PMhappy-kitchen-89482
08/13/2019, 11:49 PMset_options_for_scope() is also a bit of a hack in its own right...happy-kitchen-89482
08/13/2019, 11:49 PMhappy-kitchen-89482
08/13/2019, 11:50 PMhundreds-breakfast-49010
08/13/2019, 11:50 PMTestBase that sets options, that subclasses built to test specific things will invoke, right?hundreds-breakfast-49010
08/13/2019, 11:50 PMhappy-kitchen-89482
08/13/2019, 11:53 PMset_options_for_scope() is, but it only works for v1 tasks, basically (not quite accurate, but close enough)happy-kitchen-89482
08/13/2019, 11:53 PMhappy-kitchen-89482
08/13/2019, 11:54 PMConsoleRuleTestBase.execute_rule() to take an options dict and and target specs, instead of having it do cmd-line parsing.happy-kitchen-89482
08/13/2019, 11:54 PMargs= solution seems like the right way to go.happy-kitchen-89482
08/13/2019, 11:54 PMhundreds-breakfast-49010
08/13/2019, 11:55 PMargs now and make a ticket to improve the arg-specifciation systemhundreds-breakfast-49010
08/13/2019, 11:55 PMexecute_rule probably isn't hte place to be creating an OptionsBootstrapper, since that's useful in places more general than console rules, right?happy-kitchen-89482
08/14/2019, 12:56 AMwitty-crayon-22786
08/14/2019, 5:05 PMwitty-crayon-22786
08/14/2019, 5:05 PMwitty-crayon-22786
08/14/2019, 5:07 PM