Skip to content

Commit

Permalink
add test
Browse files Browse the repository at this point in the history
  • Loading branch information
kmaehashi committed Feb 22, 2018
1 parent 3f20e04 commit 3c12e19
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pysensorbee/test/test_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,9 @@ def test_wsquery(self):
wsc = api.wsquery(self.TOPOLOGY)
wsc.start()
try:
# Ensure that the connection is open.
self.assertTrue(wsc.is_open())

# One-shot
wsc._test_oneshot = False
def callback_1(wsc2, rid, type, payload):
Expand Down

0 comments on commit 3c12e19

Please sign in to comment.