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

Method test_dump_structure

tests/unit/test_formatter.py:61–63  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

59 self.assertEqual(self.output.getvalue(), '"foo"\n')
60
61 def test_dump_structure(self):
62 self.dumper.dump({'key': 'val'}, self.output)
63 self.assertEqual(self.output.getvalue(), 'key: val\n')
64
65 def test_dump_list(self):
66 self.dumper.dump(['val1', 'val2'], self.output)

Callers

nothing calls this directly

Calls 2

dumpMethod · 0.45
getvalueMethod · 0.45

Tested by

no test coverage detected