Esempio n. 1
0
 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))
Esempio n. 2
0
 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))