reflex/tests/units
benedikt-bartscher 4a6c16e9dc
More env var cleanup (#4248)
* fix and test bug in config env loading

* streamline env var interpretation with @adhami3310

* improve error messages, fix invalid value for TELEMETRY_ENABLED

* just a small hint

* ruffing

* fix typo from review

* refactor - ruff broke the imports..

* cleanup imports

* more

* add internal and enum env var support

* ruff cleanup

* more global imports

* revert telemetry, it lives in rx.Config

* minor fixes/cleanup

* i missed some refs

* fix darglint

* reload config is internal

* fix EnvVar name

* add test for EnvVar + minor typing improvement

* bool tests

* was this broken?

* retain old behavior

* migrate APP_HARNESS_HEADLESS to new env var system

* migrate more APP_HARNESS env vars to new config system

* migrate SCREENSHOT_DIR to new env var system

* refactor EnvVar.get to be a method

* readd deleted functions and deprecate them

* improve EnvVar api, cleanup RELOAD_CONFIG question

* move is_prod_mode back to where it was
2024-11-05 12:25:13 -08:00
..
compiler use pathlib as much as possible (#3967) 2024-10-03 17:50:39 +02:00
components add noop event (#4288) 2024-11-04 10:33:07 -08:00
experimental reorganize all tests in a single top folder (#3981) 2024-09-26 01:22:52 +02:00
middleware reorganize all tests in a single top folder (#3981) 2024-09-26 01:22:52 +02:00
states rx.event(background=True) (#4263) 2024-10-30 11:10:51 -07:00
utils More env var cleanup (#4248) 2024-11-05 12:25:13 -08:00
vars improve object var symantics (#4290) 2024-11-05 09:56:10 -08:00
__init__.py reorganize all tests in a single top folder (#3981) 2024-09-26 01:22:52 +02:00
conftest.py add workflow to check dependencies on release branch (#4050) 2024-10-07 20:57:02 +02:00
test_app.py use better typing for on_load (#4274) 2024-10-30 16:52:16 -07:00
test_attribute_access_type.py reorganize all tests in a single top folder (#3981) 2024-09-26 01:22:52 +02:00
test_base.py reorganize all tests in a single top folder (#3981) 2024-09-26 01:22:52 +02:00
test_config.py More env var cleanup (#4248) 2024-11-05 12:25:13 -08:00
test_db_config.py reorganize all tests in a single top folder (#3981) 2024-09-26 01:22:52 +02:00
test_event.py add noop event (#4288) 2024-11-04 10:33:07 -08:00
test_health_endpoint.py reorganize all tests in a single top folder (#3981) 2024-09-26 01:22:52 +02:00
test_model.py reorganize all tests in a single top folder (#3981) 2024-09-26 01:22:52 +02:00
test_page.py reorganize all tests in a single top folder (#3981) 2024-09-26 01:22:52 +02:00
test_prerequisites.py expose staticPageGenerationTimeout (#4266) 2024-10-29 22:02:35 -07:00
test_route.py reorganize all tests in a single top folder (#3981) 2024-09-26 01:22:52 +02:00
test_sqlalchemy.py reorganize all tests in a single top folder (#3981) 2024-09-26 01:22:52 +02:00
test_state_tree.py add workflow to check dependencies on release branch (#4050) 2024-10-07 20:57:02 +02:00
test_state.py improve object var symantics (#4290) 2024-11-05 09:56:10 -08:00
test_style.py reorganize all tests in a single top folder (#3981) 2024-09-26 01:22:52 +02:00
test_telemetry.py use pathlib as much as possible (#3967) 2024-10-03 17:50:39 +02:00
test_testing.py reorganize all tests in a single top folder (#3981) 2024-09-26 01:22:52 +02:00
test_var.py make var system expandable (#4175) 2024-10-21 17:05:13 -07:00