Spaces:
Build error
Build error
Commit History
-
fix: test_no_input_no_interaction passing
rmm21b4fff
-
fix: all usage of session_state.files explicitly a list now
rmm- init was to a dict, then overwritten by a list, - all access was treating as a list838bba4 -
test: implemented demo/snippet using app code for sidebar, plus test
rmm- the file_uploader callback is mocked by a side-effect, at the right time. - dynamically generated elements are tested by id - session state is tested on init, and then after processing input files - some tests are quite fragile here (i.e. sensitive to element order).85ba03c
-
test: first steps with AppTest and a mock multi-file file_uploader
rmm- a test fixture that generates the right interface but fake data inside the file objects - a demo script instantiating a few minimal components (the file_uploader, a callback for the on_change handling, and some visual elements that are dynamically created when files are uploaded) - some work towards a second fixture that loads real data too, not used in any tests yetb0e0bde
-
fix: adapt tests to refactor and explicit module names
fffba94
-
test: improved name of test file to be explicit
rmmf500b17
-
test: using src/apptest subdir for the test harnesses
rmm- streamlit executes ok like this - pytest executes ok like this - couldn't get the same results from the tests directory unfortunately.84415d1