diff options
| author | Florian Fischer <florian.fischer@muhq.space> | 2023-08-10 23:16:20 +0200 |
|---|---|---|
| committer | Florian Fischer <florian.fischer@muhq.space> | 2023-08-10 23:16:20 +0200 |
| commit | 175be53209b13eaec92ef8b3c0bad8a17dfc7a97 (patch) | |
| tree | c89cb938910cb45bcba49c852b1af0bb3c0d4ffa /test.py | |
| parent | 0a4775501821284838de7220fa82678fd3f2f698 (diff) | |
| download | geldschieberbot-175be53209b13eaec92ef8b3c0bad8a17dfc7a97.tar.gz geldschieberbot-175be53209b13eaec92ef8b3c0bad8a17dfc7a97.zip | |
ignore old obscure changes in the state file
Diffstat (limited to 'test.py')
| -rwxr-xr-x | test.py | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -1366,5 +1366,17 @@ class TestThanks(unittest.TestCase): ) +class TestConvertState(unittest.TestCase): + + def setUp(self): + reset_state("test/old_changes.json") + + def test_thanks(self): + res = run_bot(self, num[alice], "!thanks") + self.assertEqual( + res.stdout, + f"You are welcome. It is a pleasure to work with you, {num['alice']}.") + + if __name__ == '__main__': unittest.main() |
