Skip to content

Commit

Permalink
feat: Rename hardware definitions #171 (#172)
Browse files Browse the repository at this point in the history
* use pyhelper version 0.13.32 that includes variant renames and sentry
  fixes
  • Loading branch information
pritamghanghas committed Jul 6, 2022
1 parent 5952193 commit 98a5e84
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ colorzero==2.0
dbus-python==1.2.16
gpiozero==1.6.2
h3==3.7.2
hm-pyhelper==0.13.24
hm-pyhelper==0.13.32
nmcli==0.5.0
protobuf==3.19.3
pycairo==1.20.1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def test_instantiation(self):
)
self.assertEqual(
advertisement.local_name,
'Nebra Outdoor Hotspot DDE5F6'
'Nebra Outdoor Hotspot Gen 1 DDE5F6'
)
self.assertEqual(
advertisement.ad_type,
Expand All @@ -59,7 +59,7 @@ def test_get_properties(self, eth0_file_mock):
'org.bluez.LEAdvertisement1': {
'Type': 'peripheral',
'IncludeTxPower': dbus.Boolean(True),
'LocalName': dbus.String('Nebra %s Hotspot %s' % ('Outdoor', 'DDE5F6')),
'LocalName': dbus.String('Nebra %s Hotspot %s' % ('Outdoor', 'Gen 1 DDE5F6')),
'ServiceUUIDs': dbus.Array([DEFAULT_SERVICE_UUID], signature=dbus.Signature('s'))
}
}
Expand Down Expand Up @@ -190,7 +190,7 @@ def test_getall_valid_iface(self, eth0_file_mock):
advertisement.GetAll(VALID_LE_ADVERTISEMENT_IFACE),
{
'IncludeTxPower': dbus.Boolean(True),
'LocalName': dbus.String('Nebra %s Hotspot %s' % ('Outdoor', 'DDE5F6')),
'LocalName': dbus.String('Nebra %s Hotspot %s' % ('Outdoor', 'Gen 1 DDE5F6')),
'ServiceUUIDs': dbus.Array([DEFAULT_SERVICE_UUID]),
'Type': 'peripheral',
}
Expand Down

0 comments on commit 98a5e84

Please sign in to comment.