From 0558878088ec689318d0ffd405f389e1802dfff8 Mon Sep 17 00:00:00 2001 From: Joel Bender Date: Thu, 11 Oct 2018 21:22:30 -0400 Subject: [PATCH] clean up deprecation warnings from tests --- tests/test_bvll/helpers.py | 2 +- tests/test_network/helpers.py | 2 +- tests/test_segmentation/test_1.py | 2 +- tests/test_service/helpers.py | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/test_bvll/helpers.py b/tests/test_bvll/helpers.py index c09ee50..577c279 100644 --- a/tests/test_bvll/helpers.py +++ b/tests/test_bvll/helpers.py @@ -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() diff --git a/tests/test_network/helpers.py b/tests/test_network/helpers.py index cb4f267..71b1f22 100644 --- a/tests/test_network/helpers.py +++ b/tests/test_network/helpers.py @@ -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() diff --git a/tests/test_segmentation/test_1.py b/tests/test_segmentation/test_1.py index ed42de6..d256d5a 100644 --- a/tests/test_segmentation/test_1.py +++ b/tests/test_segmentation/test_1.py @@ -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 diff --git a/tests/test_service/helpers.py b/tests/test_service/helpers.py index 5565df4..1f027e1 100644 --- a/tests/test_service/helpers.py +++ b/tests/test_service/helpers.py @@ -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