Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Urkem committed Jun 20, 2023
1 parent 3f0693b commit b7ec152
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/cli/test_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -357,13 +357,14 @@ def test_validate_assistant_id_in_config_preserves_comment() -> None:
# reset input files to original state
rasa.shared.utils.io.write_yaml(original_config_data, config_file, True)


@pytest.mark.parametrize(
"text_input, button",
[
("hi this is test text\n", "hi this is test text"),
("hi this is test text (/button_one)", "/button_one"),
("hi this is test text (and something) (/button_one)", "/button_one"),
]
],
)
async def test_payload_from_button_question(text_input: str, button: str) -> None:
question = AsyncMock()
Expand Down

0 comments on commit b7ec152

Please sign in to comment.