Skip to content

Commit

Permalink
Visual indentation...
Browse files Browse the repository at this point in the history
  • Loading branch information
Kane610 committed Mar 11, 2019
1 parent 5bb1e3f commit 00d8e4f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/components/deconz/test_gateway.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ async def test_gateway_retry():

with patch.object(gateway,
'get_gateway', side_effect=errors.CannotConnect), \
pytest.raises(ConfigEntryNotReady):
pytest.raises(ConfigEntryNotReady):
await deconz_gateway.async_setup()


Expand Down Expand Up @@ -191,7 +191,7 @@ async def test_get_gateway_fails_unauthorized(hass):
"""Failed call."""
with patch('pydeconz.DeconzSession.async_load_parameters',
side_effect=pydeconz.errors.Unauthorized), \
pytest.raises(errors.AuthenticationRequired):
pytest.raises(errors.AuthenticationRequired):
assert await gateway.get_gateway(
hass, ENTRY_CONFIG, Mock(), Mock()) is False

Expand All @@ -200,7 +200,7 @@ async def test_get_gateway_fails_cannot_connect(hass):
"""Failed call."""
with patch('pydeconz.DeconzSession.async_load_parameters',
side_effect=pydeconz.errors.RequestError), \
pytest.raises(errors.CannotConnect):
pytest.raises(errors.CannotConnect):
assert await gateway.get_gateway(
hass, ENTRY_CONFIG, Mock(), Mock()) is False

Expand Down

0 comments on commit 00d8e4f

Please sign in to comment.