Fix PEP257 issues
This commit is contained in:
1 parent
d6eab03a61
commit
9838697d2b
120 files changed
+1447
-1297
No files matched your search
@@ -1,9 +1,4 @@
|
||||
"""
|
||||
tests.components.test_weblink
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
Tests weblink component.
|
||||
"""
|
||||
"""The tests for the weblink component."""
|
||||
import unittest
|
||||
|
||||
from homeassistant.components import weblink
|
||||
@@ -12,16 +7,18 @@ from tests.common import get_test_home_assistant
|
||||
|
||||
|
||||
class TestComponentWeblink(unittest.TestCase):
|
||||
""" Tests homeassistant.components.history module. """
|
||||
"""Test the Weblink component."""
|
||||
|
||||
def setUp(self):
|
||||
""" Test setup method. """
|
||||
"""Setup things to be run when tests are started."""
|
||||
self.hass = get_test_home_assistant()
|
||||
|
||||
def tearDown(self):
|
||||
"""Stop everything that was started."""
|
||||
self.hass.stop()
|
||||
|
||||
def test_entities_get_created(self):
|
||||
"""Test if new entity is created."""
|
||||
self.assertTrue(weblink.setup(self.hass, {
|
||||
weblink.DOMAIN: {
|
||||
'entities': [
|
||||
|
||||
Reference in new issue
Block a user