We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c3179d2 commit 78f2502Copy full SHA for 78f2502
tests/eva_locker_test.py
@@ -4,6 +4,7 @@
4
5
6
from evasdk.eva_locker import EvaWithLocker
7
+from evasdk.eva_errors import EvaLockError
8
9
10
class MockEva():
@@ -64,7 +65,7 @@ def test_not_locked_should_raise(self):
64
65
66
67
def test_nested_locker_same_period_should_raise(self):
- with self.assertRaises(Exception):
68
+ with self.assertRaises(EvaLockError):
69
with self.testEvaWithLocker:
70
71
self.fail("did not raise exception when locking an already locked Eva")
0 commit comments