4 from yardstick.cmd.commands.testcase import TestcaseCommands
7 class TestcaseCommandsUT(unittest.TestCase):
8 @patch('yardstick.cmd.commands.testcase.TestcaseCommands._format_print')
9 @patch('yardstick.cmd.commands.client')
10 def test_do_list(self, mock_client, mock_print):
11 mock_client.get.return_value = {'result': []}
12 TestcaseCommands().do_list({})
13 self.assertTrue(mock_print.called)
20 if __name__ == '__main__':