Skip to content

Add test for admin.logs.delete() (log pruning) #10

Description

@MitulShah1

_LogsResource.delete(before=..., stage=...) (ferrolabsai/admin/resource.py) is implemented but untested. TestAdminLogs covers list / stats only.

What to do

  1. Add test_delete_logs to TestAdminLogs in tests/test_sdk.py.
  2. Mock DELETE /admin/logs; assert the before / stage query params are sent and the response handled.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions