Deprecate legacy OAuth2 Application feature (#7045)

* Marked APIs legacy OAuth applications as deprecated

* Readded deprecation

* Fixed linter

* Added more deprecated mark to Oauth2 Api apps

* Fixed deprecation errors

* Fix tests
This commit is contained in:
Stevenson Michel
2025-08-06 14:49:19 -04:00
committed by thedoubl3j
parent 6bd7c3831f
commit dfad93cf4c
5 changed files with 33 additions and 2 deletions

View File

@@ -66,7 +66,7 @@ def test_export(run_module, admin_user):
all_assets_except_users = {k: v for k, v in assets.items() if k != 'users'}
for k, v in all_assets_except_users.items():
assert v == [], f"Expected resource {k} to be empty. Instead it is {v}"
assert v == [] or v is None, f"Expected resource {k} to be empty. Instead it is {v}"
@pytest.mark.django_db