def test_jsonvaluenone(self): v = DlBoolean(None) self.assertIsNone(v.jsonvalue)
def test_jsonvalue(self): v = DlBoolean(True) self.assertEqual(v.jsonvalue, True)
def test_fulltypecode(self): v = DlBoolean(True) self.assertEqual(v.fulltypecode, "b")
def test_fulltypename(self): v = DlBoolean(True) self.assertEqual(v.fulltypename, "BOOLEAN")
DlInteger(1), "NAME": DlString("Sherlock Holmes"), "ADDRESS": DlString("221b, Baker Street, London, NW1 6XE, UK", 200), "SALARY": DlDecimal(Decimal("12.45"), 16, 2), "TAXES": DlDecimal( Decimal("687192025652473624789243787872498713367.89012")), "BIRTHDAY": DlDate(datetime.date(2020, 1, 3)), "VISIT_TS": DlTimestamp(datetime.datetime.now()), "IS_MARRIED": DlBoolean(False), "CHILDREN": DlList([]), "TEMPERATURE": DlDictionary({ "OUTDOOR": DlDouble(2.3), "INDOOR": DlDouble(21.8) }), "COMPLEX": DlDictionary({ "FILENAME": DlString("FILE1.TXT"), "FILEBODY": DlRaw("s4pQ") }), "DEEP": DlList([ DlDictionary({