Extract data validator to own file and add tests (#12401)
This commit is contained in:
parent
416f64fc70
commit
78c44180f4
7 changed files with 139 additions and 46 deletions
|
@ -6,8 +6,9 @@ import logging
|
|||
import async_timeout
|
||||
import voluptuous as vol
|
||||
|
||||
from homeassistant.components.http import (
|
||||
HomeAssistantView, RequestDataValidator)
|
||||
from homeassistant.components.http import HomeAssistantView
|
||||
from homeassistant.components.http.data_validator import (
|
||||
RequestDataValidator)
|
||||
|
||||
from . import auth_api
|
||||
from .const import DOMAIN, REQUEST_TIMEOUT
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue