v2.3.0 (#429)
Co-authored-by: Carlo <carloantonio.patti@mistral.ai> Co-authored-by: Mathias Gesbert <mathias.gesbert@mistral.ai> Co-authored-by: Clement Sirieix <clem.sirieix@gmail.com> Co-authored-by: Michel Thomazo <michel.thomazo@mistral.ai> Co-authored-by: Clément Drouin <clement.drouin@mistral.ai> Co-authored-by: Vincent Guilloux <vincent.guilloux@mistral.ai> Co-authored-by: Thomas Kenbeek <thomas.kenbeek@mistral.ai> Co-authored-by: Mistral Vibe <vibe@mistral.ai>
This commit is contained in:
parent
a560a47ce8
commit
5d2e01a6d7
139 changed files with 7152 additions and 1457 deletions
|
|
@ -89,11 +89,15 @@ def test_updates_index_on_file_rename(
|
|||
old_file.rename(new_file)
|
||||
|
||||
assert _wait_for(
|
||||
lambda: all(
|
||||
entry.rel != old_file.name for entry in file_indexer.get_index(Path("."))
|
||||
)
|
||||
and any(
|
||||
entry.rel == new_file.name for entry in file_indexer.get_index(Path("."))
|
||||
lambda: (
|
||||
all(
|
||||
entry.rel != old_file.name
|
||||
for entry in file_indexer.get_index(Path("."))
|
||||
)
|
||||
and any(
|
||||
entry.rel == new_file.name
|
||||
for entry in file_indexer.get_index(Path("."))
|
||||
)
|
||||
)
|
||||
)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue