reflex/tests/utils
benedikt-bartscher 3039b54a75
add module prefix to generated state names (#3214)
* add module prefix to state names

* fix state names in test_app

* update state names in test_state

* fix state names in test_var

* fix state name in test_component

* fix state names in test_format

* fix state names in test_foreach

* fix state names in test_cond

* fix state names in test_datatable

* fix state names in test_colors

* fix state names in test_script

* fix state names in test_match

* fix state name in event1 fixture

* fix pyright and darglint

* fix state names in state_tree

* fix state names in redis only test

* fix state names in test_client_storage

* fix state name in js template

* add `get_state_name` and `get_full_state_name` helpers for `AppHarness`

* fix state names in test_dynamic_routes

* use new state name helpers in test_client_storage

* fix state names in test_event_actions

* fix state names in test_event_chain

* fix state names in test_upload

* fix state name in test_login_flow

* fix state names in test_input

* fix state names in test_form_submit

* ruff

* validate state module names

* wtf is going on here?

* remove comments leftover from refactoring

* adjust new test_add_style_embedded_vars

* fix state name in state.js

* fix integration/test_client_state.py

new SessionStorage feature was added with more full state names that need to be formatted in

* fix pre-commit issues in test_client_storage.py

* adjust test_computed_vars

* adjust safe-guards

* fix redis tests with new exception state

---------

Co-authored-by: Masen Furer <m_github@0x26.net>
2024-07-11 11:13:57 -07:00
..
__init__.py Add serializers for different var types (#1816) 2023-09-15 17:19:26 -07:00
test_format.py add module prefix to generated state names (#3214) 2024-07-11 11:13:57 -07:00
test_imports.py use add_imports everywhere (#3448) 2024-06-12 09:26:45 -07:00
test_serializers.py [REF-3009] type transforming serializers (#3227) 2024-06-07 09:50:10 -07:00
test_types.py allow optional props with None default value (#3179) 2024-05-01 13:33:38 -07:00
test_utils.py add computed backend vars (#3573) 2024-06-28 17:01:07 -07:00