Example #1
0
 def test_decimal_decode(self):
     assert (DataClassWithDecimal.from_json(
         self.dc_decimal_json) == DataClassWithDecimal(
             Decimal(self.decimal_s)))
 def test_decimal_decode(self):
     assert DataClassWithDecimal.from_json(
         self.dec_ts_json_in) == self.dec_ts