Skip to content

Commit 8983084

Browse files
author
JP Bourget
authored
Merge pull request #189 from amanda11/add_threaded_sensor
Use threaded sensor to test monkey_patch on sensor_wrapper
2 parents 7c3ce1e + 95e24d5 commit 8983084

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packs/fixtures/sensors/test_passive_sensor.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@ def handle_ep(endpoint):
3939
raise Exception('Unhandled endpoint: %s', endpoint)
4040

4141
def run(self):
42-
# Stopped
43-
self.app.run(host=self.host, port=self.port, threaded=False)
42+
# Using a threaded sensor to verify monkey patching
43+
self.app.run(host=self.host, port=self.port, threaded=True)
4444

4545
def cleanup(self):
4646
pass

0 commit comments

Comments
 (0)