Move imports in sql component (#27713)
* move imports in sql component * fix: variable redeclaration * fix: close test db session on platform setup
This commit is contained in:
parent
9571f869d1
commit
ed46834a30
2 changed files with 11 additions and 10 deletions
|
@ -1,11 +1,12 @@
|
|||
"""The test for the sql sensor platform."""
|
||||
import unittest
|
||||
|
||||
import pytest
|
||||
import voluptuous as vol
|
||||
|
||||
from homeassistant.components.sql.sensor import validate_sql_select
|
||||
from homeassistant.setup import setup_component
|
||||
from homeassistant.const import STATE_UNKNOWN
|
||||
from homeassistant.setup import setup_component
|
||||
|
||||
from tests.common import get_test_home_assistant
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue