Skip to content

Commit

Permalink
allow reassign event dispatcher object with a different one
Browse files Browse the repository at this point in the history
  • Loading branch information
VigneshVSV committed Oct 5, 2024
1 parent 578cc47 commit de3278c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_events.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def push_events(self):
def _push_worker(self):
for i in range(100):
self.test_event.push('test data')
time.sleep(0.01)
time.sleep(0.01) # 10ms



Expand Down
1 change: 1 addition & 0 deletions tests/test_thing_init.py
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,7 @@ def test_7_servers_init(self):
def test_8_resource_generation(self):
# basic test only to make sure nothing is fundamentally wrong
thing = self.thing_cls(instance_name="test_servers_init", log_level=logging.WARN)
# thing._prepare_resources()
self.assertIsInstance(thing.get_thing_description(), dict)
self.assertIsInstance(thing.httpserver_resources, dict)
self.assertIsInstance(thing.zmq_resources, dict)
Expand Down

0 comments on commit de3278c

Please sign in to comment.