1
0
mirror of https://github.com/JoelBender/bacpypes synced 2025-09-28 22:15:23 +08:00

clean up deprecation warnings from tests

This commit is contained in:
Joel Bender 2018-10-11 21:22:30 -04:00
parent b90ad3ce20
commit 0558878088
4 changed files with 4 additions and 4 deletions

View File

@ -418,7 +418,7 @@ class BIPBBMDApplication(Application, WhoIsIAmServices, ReadWritePropertyService
)
# continue with initialization
Application.__init__(self, local_device, self.address)
Application.__init__(self, local_device)
# include a application decoder
self.asap = ApplicationServiceAccessPoint()

View File

@ -260,7 +260,7 @@ class ApplicationNode(Application, WhoIsIAmServices, ReadWritePropertyServices):
if _debug: ApplicationNode._debug(" - address: %r", self.address)
# continue with initialization
Application.__init__(self, local_device, self.address)
Application.__init__(self, local_device)
# include a application decoder
self.asap = ApplicationServiceAccessPoint()

View File

@ -175,7 +175,7 @@ class ApplicationStateMachine(Application, StateMachine):
if _debug: ApplicationStateMachine._debug(" - address: %r", self.address)
# continue with initialization
Application.__init__(self, localDevice, self.address)
Application.__init__(self, localDevice)
StateMachine.__init__(self, name=localDevice.objectName)
# include a application decoder

View File

@ -249,7 +249,7 @@ class ApplicationStateMachine(ApplicationIOController, StateMachine):
if _debug: ApplicationStateMachine._debug(" - address: %r", self.address)
# continue with initialization
ApplicationIOController.__init__(self, localDevice, self.address)
ApplicationIOController.__init__(self, localDevice)
StateMachine.__init__(self, name=localDevice.objectName)
# include a application decoder