mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2026-03-22 06:10:51 -07:00
fix: get_multicond_prompt_list preserves whitespace in split (#14)
Made-with: Cursor
This commit is contained in:
parent
12fba26e0a
commit
077e4b93f4
1 changed files with 1 additions and 1 deletions
|
|
@ -49,7 +49,7 @@ def test_get_multicond_prompt_list_simple():
|
|||
assert len(indexes) == 1
|
||||
assert len(indexes[0]) == 2
|
||||
assert len(flat_list) == 2
|
||||
assert "a" in flat_list and "b" in flat_list
|
||||
assert flat_list[0] == "a" and flat_list[1].strip() == "b"
|
||||
|
||||
|
||||
def test_get_multicond_prompt_list_weight():
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue