| 1 |
from globus_sdk.testing.models import RegisteredResponse, ResponseSet |
| 2 |
|
| 3 |
from ._common import GROUP_ID |
| 4 |
|
| 5 |
RESPONSES = ResponseSet( |
| 6 |
metadata={"group_id": GROUP_ID}, |
| 7 |
default=RegisteredResponse( |
| 8 |
service="groups", |
| 9 |
path=f"/v2/groups/{GROUP_ID}/policies", |
| 10 |
method="PUT", |
| 11 |
json={ |
| 12 |
"is_high_assurance": False, |
| 13 |
"authentication_assurance_timeout": 28800, |
| 14 |
"group_visibility": "private", |
| 15 |
"group_members_visibility": "managers", |
| 16 |
"join_requests": False, |
| 17 |
"signup_fields": ["address1"], |
| 18 |
}, |
| 19 |
), |
| 20 |
) |