Skip to content

Commit

Permalink
Test for ansible_id in serialized assignments
Browse files Browse the repository at this point in the history
  • Loading branch information
AlanCoding committed Dec 3, 2024
1 parent 9ad6942 commit f9ac81a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test_app/tests/rbac/api/test_ansible_id_assignments.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ def test_user_assignment_ansible_id(admin_api_client, inv_rd, rando, inventory):
response = admin_api_client.post(url, data=data, format="json")
assert response.status_code == 201, response.data
assert rando.has_obj_perm(inventory, 'change')
assert response.data['user_ansible_id'] == str(resource.ansible_id)


@pytest.mark.django_db
Expand Down

0 comments on commit f9ac81a

Please sign in to comment.