From f8921f84d7315511f73ae90fd4235fbc489f54a8 Mon Sep 17 00:00:00 2001 From: Paulus Schoutsen Date: Tue, 12 Mar 2019 14:19:11 -0700 Subject: [PATCH] skip flaky test (#21981) --- tests/components/sensor/test_statistics.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/components/sensor/test_statistics.py b/tests/components/sensor/test_statistics.py index 9b4e53dbab9..1bd3ee73616 100644 --- a/tests/components/sensor/test_statistics.py +++ b/tests/components/sensor/test_statistics.py @@ -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