diff options
Diffstat (limited to 'test.py')
| -rwxr-xr-x | test.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1417,8 +1417,8 @@ class TestStateLoadStore(unittest.TestCase): def test_init(self): sp = "test/state_3users.json" - bot = Geldschieberbot(sp, DEFAULT_GROUP_ID) - self.assertTrue(compare_state(sp, state=bot.state)) + with Geldschieberbot(sp, DEFAULT_GROUP_ID) as bot: + self.assertTrue(compare_state(sp, state=bot.state)) def test_explicit_load(self): sp = "test/state_3users.json" |
