예제 #1
0
 def test_info(self):
     instance = info_command.SystemInfo(info_command.NullAnonymizer())
     text = capture_show_output(instance)
     self.assertIn("System info", text)
예제 #2
0
 def test_should_be_string(self):
     self.assertTrue(
         str(info_command.SystemInfo(info_command.NullAnonymizer())))