Skip to content

Commit

Permalink
Spelling fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Lohrer committed Jan 2, 2024
1 parent 7148b3a commit 61b4664
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion amplipi/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ def unused_groups(ctrl: Api, src: int) -> Dict[int, str]:


def unused_zones(ctrl: Api, src: int) -> Dict[int, str]:
""" Get zones that are not conencted to src """
""" Get zones that are not connected to src """
zones = ctrl.status.zones
return {z.id: z.name for z in zones if z.source_id != src and z.id is not None and not z.disabled}

Expand Down
4 changes: 2 additions & 2 deletions tests/test_mdns.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def on_service_state_change(zeroconf: Zeroconf, service_type: str, name: str, st
services = ["_amplipi._tcp.local."]
_ = ServiceBrowser(zeroconf, services, handlers=[on_service_state_change])

# wait enough time for a response from the serice
# wait enough time for a response from the service
sleep(2)

# figure out what the name will be
Expand All @@ -49,6 +49,6 @@ def on_service_state_change(zeroconf: Zeroconf, service_type: str, name: str, st
# stop the listener
zeroconf.close()

# check advertisememts
# check advertisements
assert AMPLIPI_ZC_NAME in services_advertised
assert services_advertised[AMPLIPI_ZC_NAME].port == FAKE_PORT

0 comments on commit 61b4664

Please sign in to comment.