mirror of
https://github.com/dgtlmoon/changedetection.io.git
synced 2025-12-14 20:16:13 +00:00
Minor cleanup
This commit is contained in:
@@ -450,7 +450,7 @@ class Worker(threading.Thread):
|
|||||||
app.logger.error("File permission error updating", uuid, str(s))
|
app.logger.error("File permission error updating", uuid, str(s))
|
||||||
else:
|
else:
|
||||||
if result:
|
if result:
|
||||||
|
|
||||||
datastore.update_watch(uuid=uuid, update_obj=result)
|
datastore.update_watch(uuid=uuid, update_obj=result)
|
||||||
|
|
||||||
if contents:
|
if contents:
|
||||||
|
|||||||
2
backend/pytest.ini
Normal file
2
backend/pytest.ini
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
[pytest]
|
||||||
|
addopts = --no-start-live-server --live-server-port=5005
|
||||||
@@ -38,7 +38,7 @@ def set_modified_response():
|
|||||||
f.write(test_return_data)
|
f.write(test_return_data)
|
||||||
|
|
||||||
|
|
||||||
def test_add_endpoint_to_live_server(client, live_server):
|
def test_check_basic_change_detection_functionality(client, live_server):
|
||||||
sleep_time_for_fetch_thread = 3
|
sleep_time_for_fetch_thread = 3
|
||||||
|
|
||||||
@live_server.app.route('/test-endpoint')
|
@live_server.app.route('/test-endpoint')
|
||||||
|
|||||||
Reference in New Issue
Block a user