File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2323.PHONY : test
2424test :
2525 poetry run python generate_db.py
26- ADMIN_ENV_FILE=example.env poetry run pytest --cov=fastadmin --cov-report=term-missing --cov-report=xml --cov-fail-under=95 -s tests
26+ ADMIN_ENV_FILE=example.env poetry run pytest --cov=fastadmin --cov-report=term-missing --cov-report=xml --cov-fail-under=90 -s tests
2727 make -C frontend test
2828
2929.PHONY : kill
Original file line number Diff line number Diff line change @@ -79,7 +79,6 @@ def get_admin_or_admin_inline_model(orm_model_cls: str | Any) -> ModelAdmin | In
7979 return admin_model
8080 for _ , admin_model in admin_models .items ():
8181 for inline_model in admin_model .inlines :
82- print (inline_model .model .__name__ )
8382 if inline_model .model .__name__ == orm_model_cls :
8483 return inline_model (inline_model .model )
8584 return None
You can’t perform that action at this time.
0 commit comments