Skip to content

Commit

Permalink
Rollback
Browse files Browse the repository at this point in the history
  • Loading branch information
d61h6k4 committed Mar 16, 2023
1 parent 51b6ce1 commit 84e6659
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
3 changes: 0 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,3 @@ pep440-version-utils = "^0.3.0"
semantic_version = "^2.8.5"
mypy = "^0.991"
sanic-testing = "^22.3.0, <22.9.0"

[tool.pytest.ini_options]
asyncio_mode = "auto"
5 changes: 3 additions & 2 deletions tests/test_forms.py
Original file line number Diff line number Diff line change
Expand Up @@ -758,9 +758,9 @@ async def extract_my_slot(
(["my_slot", "other_slot"], {}, [SlotSet(REQUESTED_SLOT, "other_slot")]),
# Extract method for slot which is also mapped in domain
(
["my_slot", "other_slot"],
["my_slot"],
{"forms": {"some_form": {"required_slots": ["my_slot"]}}},
[SlotSet(REQUESTED_SLOT, "other_slot")],
[],
),
],
)
Expand Down Expand Up @@ -875,6 +875,7 @@ async def required_slots(
assert events == expected_return_events


@pytest.mark.asyncio
async def test_form_validation_space_slot():
form_name = "some_form"

Expand Down

0 comments on commit 84e6659

Please sign in to comment.