Disable asuswrt tests (#12663)

This commit is contained in:
Adam Mills 2018-02-27 01:53:54 -05:00 committed by Paulus Schoutsen
parent f396266c74
commit 4242411089
2 changed files with 14 additions and 0 deletions

View File

@ -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

View File

@ -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."""