reflex/tests/units
Masen Furer 9ca5d4a095
Track backend-only vars that are declared without a default value (#4016)
* Track backend-only vars that are declared without a default value

Without this provision, declared backend vars can be accidentally shared among
all states if a mutable value is assigned to the class attribute.

* add test case for no default backend var
2024-09-27 12:04:43 -07:00
..
compiler reorganize all tests in a single top folder (#3981) 2024-09-26 01:22:52 +02:00
components disable prose by default for rx.html (#4001) 2024-09-26 13:47:05 -07: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 reorganize all tests in a single top folder (#3981) 2024-09-26 01:22:52 +02:00
utils remove format_state and override behavior for bare (#3979) 2024-09-26 16:00:28 -07:00
vars reorganize all tests in a single top folder (#3981) 2024-09-26 01:22:52 +02:00
__init__.py reorganize all tests in a single top folder (#3981) 2024-09-26 01:22:52 +02:00
conftest.py reorganize all tests in a single top folder (#3981) 2024-09-26 01:22:52 +02:00
test_app.py remove format_state and override behavior for bare (#3979) 2024-09-26 16:00:28 -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 reorganize all tests in a single top folder (#3981) 2024-09-26 01:22:52 +02: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 EventFnArgMismatch fix to support defaults args (#4004) 2024-09-26 13:56:53 -07: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 reorganize all tests in a single top folder (#3981) 2024-09-26 01:22:52 +02: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 reorganize all tests in a single top folder (#3981) 2024-09-26 01:22:52 +02:00
test_state.py Track backend-only vars that are declared without a default value (#4016) 2024-09-27 12:04:43 -07:00
test_style.py reorganize all tests in a single top folder (#3981) 2024-09-26 01:22:52 +02:00
test_telemetry.py reorganize all tests in a single top folder (#3981) 2024-09-26 01:22:52 +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 reorganize all tests in a single top folder (#3981) 2024-09-26 01:22:52 +02:00