Searched refs:mock_parser_error (Results 1 – 1 of 1) sorted by relevance
471 def testArgparseDirectoryWithNoCredentials(self, mock_parser_error): argument479 mock_parser_error.side_effect = ValueError('ArgumentParser.error')482 self.assertEqual(mock_parser_error.call_count, 1)487 def testArgparseMutualExclusionArchiveAndFiles(self, mock_parser_error): argument488 mock_parser_error.side_effect = ValueError('ArgumentParser.error')491 self.assertEqual(mock_parser_error.call_count, 1)494 def testArgparseMutualInclusionOfFileArgs(self, mock_parser_error): argument495 mock_parser_error.side_effect = ValueError('ArgumentParser.error')498 self.assertEqual(mock_parser_error.call_count, 1)500 mock_parser_error.reset_mock()[all …]