reflex/tests
Masen Furer c8dfb74995
Fix infinite recursion when a substate named "state" has a computed var (#2778)
* test_potentially_dirty_substates: when a state named State should be computed

Catch a regression introduced in 0.4.3a1

* _potentially_dirty_substates: qualify substate name

When looking up substate classes, ensure the qualified name is used to avoid
issues with same-named substates.
2024-03-04 13:14:08 -08:00
..
compiler [REF-889] useContext per substate (#2149) 2023-11-21 11:52:06 -08:00
components fix black+ruff (#2750) 2024-02-28 14:51:50 -08:00
middleware [REF-201] Separate on_load handler from initial hydration (#1847) 2023-11-30 12:21:15 -08:00
states RED-1052/rx.State as Base State (#2146) 2023-11-29 09:43:33 -08:00
utils [REF-1988] API to Get instance of Arbitrary State class (#2678) 2024-02-27 13:02:08 -08:00
__init__.py RED-1052/rx.State as Base State (#2146) 2023-11-29 09:43:33 -08:00
conftest.py [REF-201] Separate on_load handler from initial hydration (#1847) 2023-11-30 12:21:15 -08:00
test_app.py [REF-1988] API to Get instance of Arbitrary State class (#2678) 2024-02-27 13:02:08 -08:00
test_base.py Rename pynecone to reflex (#1236) 2023-06-25 16:56:55 -07:00
test_config.py Added Environmental variable REFLEX_DIR (#2457) 2024-01-30 18:18:29 -08:00
test_db_config.py Rename pynecone to reflex (#1236) 2023-06-25 16:56:55 -07:00
test_event.py RED-1052/rx.State as Base State (#2146) 2023-11-29 09:43:33 -08:00
test_model.py supply default for sqlmodel PK for both DB and python to work (#1788) 2023-09-08 14:51:57 -07:00
test_prerequisites.py Skip frontend packages install if previously done (#2400) 2024-01-16 17:52:28 -08:00
test_route.py Allow underscores in routes (#1713) 2023-09-08 12:18:33 -07:00
test_state_tree.py [REF-1988] API to Get instance of Arbitrary State class (#2678) 2024-02-27 13:02:08 -08:00
test_state.py Fix infinite recursion when a substate named "state" has a computed var (#2778) 2024-03-04 13:14:08 -08:00
test_style.py Handle component namespaces in global styles (#2630) 2024-02-15 16:03:10 -08:00
test_telemetry.py test_telemetry fails for Python Version 3.11.0rc1 (#2431) 2024-01-24 12:30:22 -08:00
test_testing.py Avoid passing props to lists and list items (#2326) 2023-12-21 15:58:45 -08:00
test_var.py Initial values for computed vars (#2670) 2024-02-24 13:45:07 -08:00