aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Fischer <florian.fischer@muhq.space>2021-09-09 10:12:51 +0200
committerFlorian Fischer <florian.fischer@muhq.space>2021-09-09 10:12:51 +0200
commit08d3012d9f8b251f051836d31d171bb820d02f6e (patch)
tree9a531591bd6f631d359a2b560da0452871b30943
parent0cece58b291adf043266dae0cf38369e76dd9589 (diff)
downloadgeldschieberbot-08d3012d9f8b251f051836d31d171bb820d02f6e.tar.gz
geldschieberbot-08d3012d9f8b251f051836d31d171bb820d02f6e.zip
[test] remove useless f-strings
-rwxr-xr-xtest.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/test.py b/test.py
index d4e94cf..29a608f 100755
--- a/test.py
+++ b/test.py
@@ -864,11 +864,11 @@ class TestFuckCmd(unittest.TestCase):
def test_fuck_invalid_change(self):
run_bot(self, num[alice], f"!schieb {bob} 10")
- res = run_bot(self, num[alice], f"!fuck foo")
+ res = run_bot(self, num[alice], "!fuck foo")
msg = "ERROR: change to rewind must be a number"
self.assertEqual(res.stdout, msg)
- res = run_bot(self, num[alice], f"!fuck 20")
+ res = run_bot(self, num[alice], "!fuck 20")
msg = "ERROR: change to rewind is bigger than there are changes"
self.assertEqual(res.stdout, msg)
@@ -903,7 +903,7 @@ charlie <- 5.00 bob
run_bot(self, num[alice], f"!split 3 {bob} {charlie}")
run_bot(self, num[alice], f"!schieb {bob} 10")
run_bot(self, num[alice], f"!nimm {charlie} 10")
- res = run_bot(self, num[alice], f"!fuck 1")
+ res = run_bot(self, num[alice], "!fuck 1")
msg = ""\
"""alice: sorry I fucked up!
Rewinding:
@@ -917,7 +917,7 @@ alice <- 1.00 charlie
run_bot(self, num[alice], f"!split 10 {bob} {charlie}")
run_bot(self, num[alice], f"!schieb {bob} 10")
run_bot(self, num[alice], f"!nimm {charlie} 10")
- res = run_bot(self, num[alice], f"!fuck 2")
+ res = run_bot(self, num[alice], "!fuck 2")
msg = ""\
"""alice: sorry I fucked up!
Rewinding: