Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions tests/test_async_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ async def _test():
description='Async integration test',
order=0,
policy=ChatsPolicy(
event_type=DLPEventType.FILE_UPLOAD,
event_types=[DLPEventType.FILE_UPLOAD],
action='prevent',
logging=LoggingStatus.ENABLED,
services_and_application=ServicesAndApplication(mode=SelectionMode.ALL),
Expand Down Expand Up @@ -317,7 +317,7 @@ async def _test():
description='Async toggle test',
order=0,
policy=ChatsPolicy(
event_type=DLPEventType.PROMPT,
event_types=[DLPEventType.PROMPT],
action='block',
logging=LoggingStatus.ENABLED,
services_and_application=ServicesAndApplication(mode=SelectionMode.ALL),
Expand Down
4 changes: 2 additions & 2 deletions tests/test_unit_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ def test_genai_chats_rule_crud(self):
description='Integration test',
order=0,
policy=ChatsPolicy(
event_type=DLPEventType.FILE_UPLOAD,
event_types=[DLPEventType.FILE_UPLOAD],
action='prevent',
logging=LoggingStatus.ENABLED,
services_and_application=ServicesAndApplication(mode=SelectionMode.ALL),
Expand Down Expand Up @@ -292,7 +292,7 @@ def test_set_active_toggle(self):
description='Toggle test',
order=0,
policy=ChatsPolicy(
event_type=DLPEventType.PROMPT,
event_types=[DLPEventType.PROMPT],
action='block',
logging=LoggingStatus.ENABLED,
services_and_application=ServicesAndApplication(mode=SelectionMode.ALL),
Expand Down
Loading