def assert_plan(self, events, **kwargs): if "skipped" not in kwargs: kwargs["skipped"] = False if "explanation" not in kwargs: kwargs["explanation"] = None self.assertEqual(next(events), TapParser.Plan(**kwargs))
def assert_plan(self, events, **kwargs): if 'skipped' not in kwargs: kwargs['skipped'] = False if 'explanation' not in kwargs: kwargs['explanation'] = None self.assertEqual(next(events), TapParser.Plan(**kwargs))