Upgrade linter (#4461)

This commit is contained in:
Paulus Schoutsen authored and GitHub committed 2016-11-18 21:47:59 -08:00
1 parent 37e28428c1
commit d2bbc6ef70
21 files changed
+28 -7

No files matched your search

+8 -4
View File
@@ -184,8 +184,10 @@ class TestApns(unittest.TestCase):
devices_path = hass.config.path('test_app_apns.yaml')
with open(devices_path, 'w+') as out:
out.write('1234: {name: test device 1, tracking_device_id: tracking123}\n') # nopep8
out.write('5678: {name: test device 2, tracking_device_id: tracking456}\n') # nopep8
out.write('1234: {name: test device 1, '
'tracking_device_id: tracking123}\n')
out.write('5678: {name: test device 2, '
'tracking_device_id: tracking456}\n')
notify.setup(hass, config)
self.assertTrue(hass.services.call('apns',
@@ -293,8 +295,10 @@ class TestApns(unittest.TestCase):
devices_path = hass.config.path('test_app_apns.yaml')
with open(devices_path, 'w+') as out:
out.write('1234: {name: test device 1, tracking_device_id: tracking123}\n') # nopep8
out.write('5678: {name: test device 2, tracking_device_id: tracking456}\n') # nopep8
out.write('1234: {name: test device 1, '
'tracking_device_id: tracking123}\n')
out.write('5678: {name: test device 2, '
'tracking_device_id: tracking456}\n')
notify_service = ApnsNotificationService(
hass,