Skip to content
Open
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
1 change: 1 addition & 0 deletions extralit/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ These are the section headers that we use:
### Added
- Added `wait` parameter to the `extralit workflows start` CLI to waiting for the workflow to complete and return the final status.
- Added dynamic mimetypes support for document uploads based on file extension or UploadFile types.
- Added `MockClient` implementation for unit testing in `tests/unit/client_mocks.py` to simulate API behavior without external dependencies. ([#178](https://github.com/extralit/extralit/issues/178))

### Fixed
- Fixed single document uploads via CLI (`extralit documents add`) to start PDF workflow.
Expand Down
2 changes: 1 addition & 1 deletion extralit/tests/integration/test_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def workspace(client: Extralit) -> Workspace:
return Workspace(name=f"test-workspace{uuid.uuid4()}").create()


# TODO: We can move this test suite to tests/unit once we have a mock client implementation

class TestClient:
def test_get_resources(self, client: Extralit, workspace: Workspace, user: User, dataset: Dataset):
assert client.workspaces(name=workspace.name) == workspace
Expand Down
Loading