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:
parent
b90ad3ce20
commit
0558878088
|
@ -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()
|
||||
|
|
|
@ -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()
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user