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

Method assert_proper_indentation

tests/unit/test_clidocs.py:64–68  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

62 self.assertIn(expected, writes)
63
64 def assert_proper_indentation(self):
65 indent = self.help_command.doc.style.indent.call_count
66 dedent = self.help_command.doc.style.dedent.call_count
67 message = 'Imbalanced indentation: indent (%s) != dedent (%s)'
68 self.assertEqual(indent, dedent, message % (indent, dedent))
69
70 def test_handle_recursive_input(self):
71 shape_map = {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected