def test_format_api_dict(self): result = formatting._format_dict({'key': 'value'}) self.assertIsInstance(result, formatting.Table) self.assertEqual(result.columns, ['Name', 'Value']) self.assertEqual(result.rows, [['key', 'value']])
def test_format_api_dict(self): result = formatting._format_dict({'key': 'value'}) self.assertIsInstance(result, formatting.Table) self.assertEqual(result.columns, ['Name', 'Value']) self.assertEqual(result.rows, [['key', 'value']])