

def test_only_get_new_headers(self):
    account = _account_for_test()
    with mock_worker(fol1={
        6: None,
        8: None,
    }):
        account.perform_update()
    with mock_worker(fol1={
        6: None,
        8: None,
        13: None,
    }) as worker:
        account.perform_update()
        worker.get_message_headers.assert_called_once_with(set([13]))

dataset/ETHPy150Open mgax/tinymail/src/tinymail/tests/test_account.py AccountUpdateTest.test_only_get_new_headers/original