fixed unit tests for broadcasted exceptions to use proper values

This commit is contained in:
Blake Harnden 2019-12-12 21:10:30 -08:00
parent fd83861399
commit d5b2edb6ab

View file

@ -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)