def test_bool_false(self): o = Object() o.active = False self.assertEqual(base_convert.TestJSON._tojsonstr(o), '{"active": false}')
def test_bool_true(self): o = Object() o.active = True self.assertEqual(base_convert.TestJSON._tojsonstr(o), '{"active": true}')