

def test_trust_uidvalidity(self):
    account = _account_for_test()
    msg13_bis_data = (13, set(['\\Seen']), 'Subject: another message')
    with mock_worker(fol1={
        13: msg13_data,
    }):
        account.perform_update()
    with mock_worker(fol1={
        13: msg13_bis_data,
    }):
        account.perform_update()
    fol1 = fol1.get_folder('fol1')
    self.assertEqual([m.raw_headers for m in fol1.list_messages()], [msg13_data[2]])

dataset/ETHPy150Open mgax/tinymail/src/tinymail/tests/test_account.py AccountUpdateTest.test_trust_uidvalidity/VarMisuse@81/121 `account`->`fol1`