Skip to content

Commit 95e24d5

Browse files
committed
Use threaded sensor to test monkey_patch incorrect place on sensor_wrapper
1 parent ed40e93 commit 95e24d5

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)