mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-19 00:01:29 +00:00
test(router): match current affinity control label
This commit is contained in:
parent
4287bacf25
commit
1016ceede6
1 changed files with 1 additions and 1 deletions
|
|
@ -105,7 +105,7 @@ describe("EditAutoRouterModal keyword matching", () => {
|
|||
expect(screen.queryByText("Advanced: Compression")).not.toBeInTheDocument();
|
||||
expect(screen.queryByText("Model Access Groups")).not.toBeInTheDocument();
|
||||
await user.click(screen.getByText("Advanced: Affinity"));
|
||||
await user.click(await screen.findByRole("switch", { name: "Pin a session to one deployment per model group" }));
|
||||
await user.click(await screen.findByRole("switch", { name: "Pin one model deployment per tier" }));
|
||||
await user.click(screen.getByRole("button", { name: /save changes/i }));
|
||||
await waitFor(() => expect(modelPatchUpdateCall).toHaveBeenCalled());
|
||||
expect(modelPatchUpdateCall).toHaveBeenLastCalledWith(
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue