Test global calls AttributeError
This patch raises the AttributeError.
This commit is contained in:
parent
7df190cef1
commit
27351d9e90
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user