Skip to content

Commit

Permalink
minor output cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
JoelBender committed Jun 30, 2018
1 parent d33c92c commit d2fc0fb
Showing 1 changed file with 1 addition and 15 deletions.
16 changes: 1 addition & 15 deletions tests/test_service/test_cov.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,14 +57,6 @@ def do_ConfirmedCOVNotificationRequest(self, apdu):
assert hasattr(self, 'test_reject')
assert hasattr(self, 'test_abort')

print("{} changed\n {}".format(
apdu.monitoredObjectIdentifier,
",\n ".join("{} = {}".format(
element.propertyIdentifier,
str(element.value),
) for element in apdu.listOfValues),
))

if self.test_ack:
# success
response = SimpleAckPDU(context=apdu)
Expand All @@ -86,13 +78,6 @@ def do_ConfirmedCOVNotificationRequest(self, apdu):
def do_UnconfirmedCOVNotificationRequest(self, apdu):
if _debug: COVTestClientServices._debug("do_UnconfirmedCOVNotificationRequest %r", apdu)

print("{} changed\n {}".format(
apdu.monitoredObjectIdentifier,
",\n ".join("{} is {}".format(
element.propertyIdentifier,
str(element.value),
) for element in apdu.listOfValues),
))

@bacpypes_debugging
class TestBasic(unittest.TestCase):
Expand All @@ -114,6 +99,7 @@ def test_basic(self):
# run the group
anet.run()


@bacpypes_debugging
class TestBinaryValue(unittest.TestCase):

Expand Down

0 comments on commit d2fc0fb

Please sign in to comment.