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

Method test_dump_bool

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

Source from the content-addressed store, hash-verified

51 self.assertEqual(self.output.getvalue(), '1.2\n')
52
53 def test_dump_bool(self):
54 self.dumper.dump(True, self.output)
55 self.assertEqual(self.output.getvalue(), 'true\n')
56
57 def test_dump_str(self):
58 self.dumper.dump('foo', self.output)

Callers

nothing calls this directly

Calls 2

dumpMethod · 0.45
getvalueMethod · 0.45

Tested by

no test coverage detected