Skip to content

Commit

Permalink
0.14.0 Release
Browse files Browse the repository at this point in the history
  • Loading branch information
Adminiuga authored Mar 9, 2020
2 parents 0bda9e0 + 00b39a4 commit f4af210
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions bellows/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
MAJOR_VERSION = 0
MINOR_VERSION = 13
PATCH_VERSION = "2"
MINOR_VERSION = 14
PATCH_VERSION = "0"
__short_version__ = "{}.{}".format(MAJOR_VERSION, MINOR_VERSION)
__version__ = "{}.{}".format(__short_version__, PATCH_VERSION)
2 changes: 0 additions & 2 deletions bellows/zigbee/application.py
Original file line number Diff line number Diff line change
Expand Up @@ -263,8 +263,6 @@ def ezsp_callback_handler(self, frame_name, args):
elif frame_name == "trustCenterJoinHandler":
if args[2] == t.EmberDeviceUpdate.DEVICE_LEFT:
self.handle_leave(args[0], args[1])
else:
self.handle_join(args[0], args[1], args[4])
elif frame_name == "incomingRouteRecordHandler":
self.handle_route_record(*args)
elif frame_name == "incomingRouteErrorHandler":
Expand Down
4 changes: 3 additions & 1 deletion tests/test_application.py
Original file line number Diff line number Diff line change
Expand Up @@ -204,8 +204,10 @@ def test_dup_send_success(app, aps, ieee):

def test_join_handler(app, ieee):
# Calls device.initialize, leaks a task
app.handle_join = mock.MagicMock()
app.ezsp_callback_handler("trustCenterJoinHandler", [1, ieee, None, None, None])
assert ieee in app.devices
assert ieee not in app.devices
assert app.handle_join.call_count == 0


def test_leave_handler(app, ieee):
Expand Down

0 comments on commit f4af210

Please sign in to comment.