diff options
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() |
