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

Method test_dump_str

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

Source from the content-addressed store, hash-verified

55 self.assertEqual(self.output.getvalue(), 'true\n')
56
57 def test_dump_str(self):
58 self.dumper.dump('foo', self.output)
59 self.assertEqual(self.output.getvalue(), '"foo"\n')
60
61 def test_dump_structure(self):
62 self.dumper.dump({'key': 'val'}, self.output)

Callers

nothing calls this directly

Calls 2

dumpMethod · 0.45
getvalueMethod · 0.45

Tested by

no test coverage detected