Home
last modified time | relevance | path

Searched refs:mock_parser_error (Results 1 – 1 of 1) sorted by relevance

/external/avb/test/
Dat_auth_unlock_unittest.py471 def testArgparseDirectoryWithNoCredentials(self, mock_parser_error): argument
479 mock_parser_error.side_effect = ValueError('ArgumentParser.error')
482 self.assertEqual(mock_parser_error.call_count, 1)
487 def testArgparseMutualExclusionArchiveAndFiles(self, mock_parser_error): argument
488 mock_parser_error.side_effect = ValueError('ArgumentParser.error')
491 self.assertEqual(mock_parser_error.call_count, 1)
494 def testArgparseMutualInclusionOfFileArgs(self, mock_parser_error): argument
495 mock_parser_error.side_effect = ValueError('ArgumentParser.error')
498 self.assertEqual(mock_parser_error.call_count, 1)
500 mock_parser_error.reset_mock()
[all …]