Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion auto_dev/data/templates/protocols/test_dialogues.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
from unittest.mock import MagicMock

from pydantic import BaseModel
from hypothesis import given
from hypothesis import given, settings
from hypothesis import strategies as st
from aea.configurations.data_types import PublicId

Expand Down Expand Up @@ -51,6 +51,7 @@ def validate_dialogue(performative, model):


{%- for initial_performative in initial_performatives %}
@settings(deadline=1000)
@given(st.from_type({{ snake_to_camel(initial_performative) }}))
def test_{{ initial_performative }}_dialogues(model):
"""Test for the '{{ initial_performative|upper }}' protocol."""
Expand Down
Loading