diff --git a/.github/workflows/python-app.yml b/.github/workflows/python-app.yml index c02a3571..3380a8e9 100644 --- a/.github/workflows/python-app.yml +++ b/.github/workflows/python-app.yml @@ -36,4 +36,4 @@ jobs: # flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics - name: Test with pytest run: | - TESTING=ON poetry run pytest \ No newline at end of file + poetry run pytest \ No newline at end of file diff --git a/search/factory.py b/search/factory.py index 88f74f3c..ba24fc16 100644 --- a/search/factory.py +++ b/search/factory.py @@ -49,7 +49,7 @@ def create_ui_web_app() -> Flask: for filter_name, template_filter in filters.filters: app.template_filter(filter_name)(template_filter) - if app.config["TESTING"] =="ON": + if app.config["TESTING"]: index_startup_check(app) return app