Disable version check when pytest is running (#1084)

This commit is contained in:
dgtlmoon
2022-11-01 18:26:29 +01:00
committed by GitHub
parent 77b59809ca
commit c197c062e1
3 changed files with 5 additions and 4 deletions

View File

@@ -41,7 +41,7 @@ def app(request):
cleanup(datastore_path)
app_config = {'datastore_path': datastore_path}
app_config = {'datastore_path': datastore_path, 'disable_checkver' : True}
cleanup(app_config['datastore_path'])
datastore = store.ChangeDetectionStore(datastore_path=app_config['datastore_path'], include_default_watches=False)
app = changedetection_app(app_config, datastore)