From 4242411089ae6966f00d1695161a18a4a789b78a Mon Sep 17 00:00:00 2001 From: Adam Mills Date: Tue, 27 Feb 2018 01:53:54 -0500 Subject: [PATCH] Disable asuswrt tests (#12663) --- .coveragerc | 1 + tests/components/device_tracker/test_asuswrt.py | 13 +++++++++++++ 2 files changed, 14 insertions(+) diff --git a/.coveragerc b/.coveragerc index 46981341bac..c550bc407a6 100644 --- a/.coveragerc +++ b/.coveragerc @@ -353,6 +353,7 @@ omit = homeassistant/components/cover/scsgate.py homeassistant/components/device_tracker/actiontec.py homeassistant/components/device_tracker/aruba.py + homeassistant/components/device_tracker/asuswrt.py homeassistant/components/device_tracker/automatic.py homeassistant/components/device_tracker/bbox.py homeassistant/components/device_tracker/bluetooth_le_tracker.py diff --git a/tests/components/device_tracker/test_asuswrt.py b/tests/components/device_tracker/test_asuswrt.py index f1f3d9c5224..27f28412561 100644 --- a/tests/components/device_tracker/test_asuswrt.py +++ b/tests/components/device_tracker/test_asuswrt.py @@ -19,6 +19,7 @@ from homeassistant.components.device_tracker.asuswrt import ( from homeassistant.const import (CONF_PLATFORM, CONF_PASSWORD, CONF_USERNAME, CONF_HOST) +import pytest from tests.common import ( get_test_home_assistant, get_test_config_dir, assert_setup_component, mock_component) @@ -118,6 +119,10 @@ def teardown_module(): os.remove(FAKEFILE) +@pytest.mark.skip( + reason="These tests are performing actual failing network calls. They " + "need to be cleaned up before they are re-enabled. They're frequently " + "failing in Travis.") class TestComponentsDeviceTrackerASUSWRT(unittest.TestCase): """Tests for the ASUSWRT device tracker platform.""" @@ -468,6 +473,10 @@ class TestComponentsDeviceTrackerASUSWRT(unittest.TestCase): self.assertEqual({}, scanner._get_leases(NEIGH_DEVICES.copy())) +@pytest.mark.skip( + reason="These tests are performing actual failing network calls. They " + "need to be cleaned up before they are re-enabled. They're frequently " + "failing in Travis.") class TestSshConnection(unittest.TestCase): """Testing SshConnection.""" @@ -508,6 +517,10 @@ class TestSshConnection(unittest.TestCase): self.assertIsNone(self.connection._ssh) +@pytest.mark.skip( + reason="These tests are performing actual failing network calls. They " + "need to be cleaned up before they are re-enabled. They're frequently " + "failing in Travis.") class TestTelnetConnection(unittest.TestCase): """Testing TelnetConnection."""