MCPcopy Create free account
hub / github.com/aws/aws-cli / test_deprecated_operation

Method test_deprecated_operation

tests/unit/test_clidriver.py:1111–1116  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1109 self.assertEqual(self.cmd.lineage_names, ['list-objects'])
1110
1111 def test_deprecated_operation(self):
1112 self.mock_operation.deprecated = True
1113 cmd = ServiceOperation(
1114 self.name, None, None, self.mock_operation, None
1115 )
1116 self.assertTrue(getattr(cmd, '_UNDOCUMENTED'))
1117
1118 def test_idempotency_token_is_not_required(self):
1119 session = FakeSession()

Callers

nothing calls this directly

Calls 1

ServiceOperationClass · 0.90

Tested by

no test coverage detected