skip flaky test (#21981)

pull/21989/head
Paulus Schoutsen 2019-03-12 14:19:11 -07:00 committed by GitHub
parent 2b1b47bfdd
commit f8921f84d7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -2,6 +2,8 @@
import unittest
import statistics
import pytest
from homeassistant.setup import setup_component
from homeassistant.components.sensor.statistics import StatisticsSensor
from homeassistant.const import (
@ -228,6 +230,7 @@ class TestStatisticsSensor(unittest.TestCase):
state.attributes.get('max_age')
assert self.change_rate == state.attributes.get('change_rate')
@pytest.mark.skip
def test_initialize_from_database(self):
"""Test initializing the statistics from the database."""
# enable the recorder