Skip to content

Conversation

@samialfattani
Copy link
Contributor

Fixes #2556

@samialfattani
Copy link
Contributor Author

it shows this error

    assert rv.status_code == 200
E   assert 404 == 200
E    +  where 404 = <WrapperTestResponse streamed [404 NOT FOUND]>.status_code
________ test_csp[ModalFileAdmin rename dir-modalfa-rename/?path=dir1] _________
flask_admin/tests/csp/test_csp.py:273: in test_csp
    assert rv.status_code == 200
E   assert 404 == 200
E    +  where 404 = <WrapperTestResponse streamed [404 NOT FOUND]>.status_code

whie it is locally passes the test successfullly, !!! any suggestion ?

@ElLorans
Copy link
Contributor

I silenced the warning in master, can you pull the latest changes?

@samialfattani
Copy link
Contributor Author

you can merge now

fix fill_db

wrap all tests  in class

fix dynamic FileAdmin class

fix

add something in the dir1 to avoid empty directory

fix

fix typing

fix

change test structure and renaming

combine both delete-dir and delete-file into one function

Revert changes out of scope from a100538
@ElLorans
Copy link
Contributor

ElLorans commented Jan 4, 2026

I squashed and rebased on top of origin/master to have a cleaner history. If you agree, I/you can remove the , (id= {{ row_id }}) and we can merge if there is no other change in functionality.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

Convert onclick scripts event listeners

2 participants