mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
tests: update test_bulk_download.py
after addition of archived
field
This commit is contained in:
parent
0d4b80780b
commit
6dfc406c52
@ -126,7 +126,7 @@ def test_generate_id_with_board_id(monkeypatch: Any, mock_invoker: Invoker):
|
||||
bulk_download_service.start(mock_invoker)
|
||||
|
||||
def mock_board_get(*args, **kwargs):
|
||||
return BoardRecord(board_id="12345", board_name="test_board_name", created_at="None", updated_at="None")
|
||||
return BoardRecord(board_id="12345", board_name="test_board_name", created_at="None", updated_at="None", archived=False)
|
||||
|
||||
monkeypatch.setattr(mock_invoker.services.board_records, "get", mock_board_get)
|
||||
|
||||
@ -153,7 +153,7 @@ def test_handler_board_id(tmp_path: Path, monkeypatch: Any, mock_image_dto: Imag
|
||||
)
|
||||
|
||||
def mock_board_get(*args, **kwargs):
|
||||
return BoardRecord(board_id="12345", board_name="test_board_name", created_at="None", updated_at="None")
|
||||
return BoardRecord(board_id="12345", board_name="test_board_name", created_at="None", updated_at="None", archived=False)
|
||||
|
||||
monkeypatch.setattr(mock_invoker.services.board_records, "get", mock_board_get)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user