diff options
| -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: |
