diff options
| author | Florian Fischer <florian.fischer@muhq.space> | 2021-09-09 10:12:51 +0200 |
|---|---|---|
| committer | Florian Fischer <florian.fischer@muhq.space> | 2021-09-09 10:12:51 +0200 |
| commit | 08d3012d9f8b251f051836d31d171bb820d02f6e (patch) | |
| tree | 9a531591bd6f631d359a2b560da0452871b30943 | |
| parent | 0cece58b291adf043266dae0cf38369e76dd9589 (diff) | |
| download | geldschieberbot-08d3012d9f8b251f051836d31d171bb820d02f6e.tar.gz geldschieberbot-08d3012d9f8b251f051836d31d171bb820d02f6e.zip | |
[test] remove useless f-strings
| -rwxr-xr-x | test.py | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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: |
