test for 'FutureWarning'
@@ -18,6 +18,7 @@ def test_event_validation_accepts_dicts_with_event():
def test_deprecated_utter_elements():
dispatcher = CollectingDispatcher()
+ with pytest.warns(FutureWarning):
dispatcher.utter_elements(1, 2, 3)
assert dispatcher.messages[0] == {
