Ejemplo n.º 1
0
 def test_to_xdr_amount_raise(self, origin_amount, exception, reason):
     with pytest.raises(exception, match=reason):
         Operation.to_xdr_amount(origin_amount)
Ejemplo n.º 2
0
 def test_to_xdr_amount(self, origin_amount, expect_value):
     assert Operation.to_xdr_amount(origin_amount) == expect_value