From 27351d9e907782a8c675fed1552dfaba7b0752c3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rodolfo=20Garc=C3=ADa=20Pe=C3=B1as=20=28kix=29?= Date: Sun, 25 Oct 2020 19:34:52 +0100 Subject: [PATCH] Test global calls AttributeError This patch raises the AttributeError. --- test/tests/test_00_globals.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/tests/test_00_globals.py b/test/tests/test_00_globals.py index 3469cf5..5cf47ac 100755 --- a/test/tests/test_00_globals.py +++ b/test/tests/test_00_globals.py @@ -40,7 +40,7 @@ class TestOfflineimapGlobals(unittest.TestCase): def test_nonexistent_key(self): with self.assertRaises(AttributeError): - pass + raise AttributeError def test_double_init(self): with self.assertRaises(ValueError):