python: Wait for initial Resync in the bot tests

This commit is contained in:
iequidoo
2023-03-31 17:15:02 -03:00
committed by iequidoo
parent 61b8d04418
commit 0a2200c2c8
2 changed files with 12 additions and 1 deletions
+7
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):