def test_currency(self): """ Test currency value """ return_value = MWSSTransformer.transform({"50": "36852"}) self.assertEqual(36852, return_value["50"]) item = CSFormatter._pck_item("50", return_value["50"]) self.assertEqual(item, "0050 00000036852")
def test_currency(self): """ Test currency value """ return_value = MWSSTransformer.transform({"50": "36852"}) self.assertEqual(36852, return_value["50"]) item = CSFormatter._pck_item("50", return_value["50"]) self.assertEqual(item, "0050 00000036852")
def test_unsigned(self): """ Test unsigned integer value """ return_value = MWSSTransformer.transform({"40": "33"}) self.assertEqual(33, return_value["40"]) item = CSFormatter._pck_item("40", return_value["40"]) self.assertEqual(item, "0040 00000000033")
def test_unsigned(self): """ Test unsigned integer value """ return_value = MWSSTransformer.transform({"40": "33"}) self.assertEqual(33, return_value["40"]) item = CSFormatter._pck_item("40", return_value["40"]) self.assertEqual(item, "0040 00000000033")