예제 #1
0
    def testParseArgsWithSuppressPrompt(self, _modelCheckpointMgrModuleMock,
                                        _messageBusConnectorClassMock,
                                        _amqpModuleMock, _repositoryMock):
        args = reset_all_taurus_engine_data._parseArgs(
            ["--suppress-prompt-and-obliterate"])

        self.assertEqual(args.suppressPrompt, True)
  def testParseArgsWithoutSuppressPrompt(self,
                                         _modelCheckpointMgrModuleMock,
                                         _messageBusConnectorClassMock,
                                         _amqpModuleMock,
                                         _repositoryMock):
    args = reset_all_taurus_engine_data._parseArgs([])

    self.assertEqual(args.suppressPrompt, False)
  def testParseArgsWithSuppressPrompt(self,
                                      _modelCheckpointMgrModuleMock,
                                      _messageBusConnectorClassMock,
                                      _amqpModuleMock,
                                      _repositoryMock):
    args = reset_all_taurus_engine_data._parseArgs(
      ["--suppress-prompt-and-obliterate"])

    self.assertEqual(args.suppressPrompt, True)
예제 #4
0
    def testParseArgsWithoutSuppressPrompt(self, _modelCheckpointMgrModuleMock,
                                           _messageBusConnectorClassMock,
                                           _amqpModuleMock, _repositoryMock):
        args = reset_all_taurus_engine_data._parseArgs([])

        self.assertEqual(args.suppressPrompt, False)