mirror of
https://github.com/ansible/awx.git
synced 2026-05-19 14:57:39 -02:30
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:
committed by
thedoubl3j
parent
6bd7c3831f
commit
dfad93cf4c
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user