Skip to content

Commit

Permalink
Fix some errors in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
sbidy committed Jan 9, 2021
1 parent 324aa4e commit 3be338f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions pywizlight/tests/test_bulb.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@

from pywizlight import SCENES, PilotBuilder, wizlight
from pywizlight.exceptions import WizLightTimeOutError
from pywizlight.test.fake_bulb import startup_bulb
from pywizlight.tests.fake_bulb import startup_bulb
from pywizlight.discovery import discover_lights


class TestBulb:
Expand All @@ -29,7 +30,7 @@ def setup_class(cls):
@pytest.mark.asyncio
async def test_Bulb_Discovery(self):
"""Test discovery function."""
bulbs = await wizlight.discover_lights(broadcast_space="192.168.178.255")
bulbs = await discover_lights(broadcast_space="192.168.178.255")
for bulb in bulbs:
state = await bulb.updateState()
assert state.get_state() is False
Expand Down

0 comments on commit 3be338f

Please sign in to comment.