aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Fischer <florian.fischer@muhq.space>2023-08-10 14:01:25 +0200
committerFlorian Fischer <florian.fischer@muhq.space>2023-08-10 14:01:25 +0200
commit2cf937b89e5f0bcd0b86dc75835e8a2315f01fd7 (patch)
tree6850c3521a846eeb9fc1817cfb1fd43e3c733ed6
parent3e80b30b9819aa5c94221e4776baa7d62ea5df88 (diff)
downloadgeldschieberbot-2cf937b89e5f0bcd0b86dc75835e8a2315f01fd7.tar.gz
geldschieberbot-2cf937b89e5f0bcd0b86dc75835e8a2315f01fd7.zip
test: use more intuitive transfer command
-rwxr-xr-xtest.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/test.py b/test.py
index 963c6b7..f58a018 100755
--- a/test.py
+++ b/test.py
@@ -967,12 +967,12 @@ New Balance: bob -> 5.00 charlie
def test_transfer_change_dept(self):
res = run_bot(self, num[alice], "!schieb bob 5")
- i = '!transfer 5 bob charlie'
- res = run_bot(self, num[alice], i)
+ i = '!transfer 5 charlie alice'
+ res = run_bot(self, num[bob], i)
o = \
-"""New Balance: alice <- 0.00 bob
-New Balance: alice <- 5.00 charlie
-New Balance: bob -> 5.00 charlie
+"""New Balance: bob -> 5.00 charlie
+New Balance: bob <- 0.00 alice
+New Balance: charlie -> 5.00 alice
"""
self.assertEqual(res.stdout, o)