Test global calls AttributeError

This patch raises the AttributeError.
This commit is contained in:
Rodolfo García Peñas (kix) 2020-10-25 19:34:52 +01:00
parent 7df190cef1
commit 27351d9e90

View File

@ -40,7 +40,7 @@ class TestOfflineimapGlobals(unittest.TestCase):
def test_nonexistent_key(self): def test_nonexistent_key(self):
with self.assertRaises(AttributeError): with self.assertRaises(AttributeError):
pass raise AttributeError
def test_double_init(self): def test_double_init(self):
with self.assertRaises(ValueError): with self.assertRaises(ValueError):