fixed unit tests for broadcasted exceptions to use proper values
This commit is contained in:
parent
fd83861399
commit
d5b2edb6ab
1 changed files with 3 additions and 1 deletions
|
@ -1086,7 +1086,9 @@ class TestGrpc:
|
|||
with client.context_connect():
|
||||
client.events(session.id, handle_event)
|
||||
time.sleep(0.1)
|
||||
session.exception(ExceptionLevels.FATAL, "test", None, "exception message")
|
||||
session.exception(
|
||||
ExceptionLevels.FATAL.value, "test", None, "exception message"
|
||||
)
|
||||
|
||||
# then
|
||||
queue.get(timeout=5)
|
||||
|
|
Loading…
Add table
Reference in a new issue