def testFireSet(self):
     component = tc.simple_set()
     result = fire.Fire(component, command=[])
     self.assertEqual(len(result), 3)
Exemple #2
0
 def testPrintSet(self):
     with self.assertOutputMatches(stdout='.*three.*', stderr=None):
         core.Fire(tc.simple_set(), command=[])