python: Wait for initial Resync in the bot tests

This commit is contained in:
iequidoo
2023-03-28 11:16:08 -03:00
committed by iequidoo
parent 61b8d04418
commit 0a2200c2c8
2 changed files with 12 additions and 1 deletions

View File

@@ -676,6 +676,13 @@ class BotProcess:
print("+++IGN:", line)
ignored.append(line)
def await_resync(self):
self.fnmatch_lines(
"""
*Resync: collected * message IDs in folder INBOX*
""",
)
@pytest.fixture()
def tmp_db_path(tmpdir):