(thing1, thing2, *args)
| 35 | raise AssertionError("Fee of %s BTC too high! (Should be %s BTC)" % (str(fee), str(target_fee))) |
| 36 | |
| 37 | def assert_equal(thing1, thing2, *args): |
| 38 | if thing1 != thing2 or any(thing1 != arg for arg in args): |
| 39 | raise AssertionError("not(%s)" % " == ".join(str(arg) for arg in (thing1, thing2) + args)) |
| 40 | |
| 41 | def assert_greater_than(thing1, thing2): |
| 42 | if thing1 <= thing2: |