def test_imap_missing_spam(constants, monkeypatch):
 folder_base = [(('\\HasNoChildren',), '/', u'INBOX'), (('\\Noselect', '\\HasChildren'), '/', u'SKIP'), (('\\HasNoChildren', '\\Drafts'), '/', u'Drafts'), (('\\HasNoChildren', '\\Sent'), '/', u'Sent'), (('\\HasNoChildren', '\\Sent'), '/', u'Sent Items'), (('\\HasNoChildren', '\\Trash'), '/', u'Trash'), (('\\HasNoChildren',), '/', u'reference')]
 check_missing_generic('spam', folder_base, localized_folder_names['spam'], 'imap', constants, monkeypatch)

def test_imap_missing_spam ( constants , monkeypatch ) : folder_base = [ ( ( '\\HasNoChildren' , ) , '/' , u'INBOX' ) , ( ( '\\Noselect' , '\\HasChildren' ) , '/' , u'SKIP' ) , ( ( '\\HasNoChildren' , '\\Drafts' ) , '/' , u'Drafts' ) , ( ( '\\HasNoChildren' , '\\Sent' ) , '/' , u'Sent' ) , ( ( '\\HasNoChildren' , '\\Sent' ) , '/' , u'Sent Items' ) , ( ( '\\HasNoChildren' , '\\Trash' ) , '/' , u'Trash' ) , ( ( '\\HasNoChildren' , ) , '/' , u'reference' ) ] check_missing_generic ( 'spam' , folder_base , localized_folder_names [ 'spam' ] , 'imap' , constants , monkeypatch )
same strategy as test_gmail_missing_spam .