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