Skip to content

Commit 013fb45

Browse files
committed
feat(asset-owner): add invitation & user management support
- Add tenant_id migration and asset owner permissions/menu SQL - Expose northbound knowledge/vector database updates for asset owner visibility - Add backend auth/utils and invitation/agent/user management services - Update invitation list UI
1 parent 5b65d9e commit 013fb45

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

test/backend/app/test_agent_app.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -845,7 +845,9 @@ def test_list_all_agent_info_api_with_explicit_tenant_id(mocker, mock_auth_heade
845845
)
846846

847847
assert response.status_code == 200
848-
mock_list_all_agent.assert_called_once_with(tenant_id=explicit_tenant_id, user_id="test_user")
848+
assert mock_list_all_agent.call_count == 2
849+
mock_list_all_agent.assert_any_call(tenant_id=explicit_tenant_id, user_id="test_user")
850+
mock_list_all_agent.assert_any_call(tenant_id=ASSET_OWNER_TENANT_ID, user_id="test_user")
849851

850852

851853
def test_list_all_agent_info_api_exception(mocker, mock_auth_header):

0 commit comments

Comments
 (0)