Ignore:
Timestamp:
4 Nov 2020, 22:25:27 (4 years ago)
Author:
Henrik Bettermann
Message:

Configure Cc and Bcc properly.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/trunk/src/waeup/kofa/students/tests/test_browser.py

    r16299 r16300  
    476476        ctrl.getControl(value='K1000001').selected = True
    477477        self.browser.getControl("Send bulk", index=0).click()
    478         self.assertTrue('K1000000 <aa@aa.ng>,K1000001 <uli@uni.ng>'
     478        self.assertTrue("[('aa@aa.ng', u'K1000000'), ('uli@uni.ng', u'K1000001')]"
    479479            in self.browser.contents)
    480480        self.browser.getControl(name="form.subject").value = 'Test'
     
    483483        self.assertTrue('Your message has been sent' in self.browser.contents)
    484484        self.assertMatches(
    485         u'Sending email from no-reply@waeup.org to contact@waeup.org:\n'
     485        u'Sending email from no-reply@waeup.org to contact@waeup.org, aa@aa.ng, uli@uni.ng:\n'
    486486        u'Message:\n'
    487487        u'msg: MIME-Version: 1.0\n'
     
    490490        u'msg: From: Manager <no-reply@waeup.org>\n'
    491491        u'msg: To: Manager <contact@waeup.org>\n'
    492         u'msg: Bcc: K1000000 <aa@aa.ng>,K1000001 <uli@uni.ng>\n'
     492        u'msg: Bcc: K0000000 <aa@aa.ng>\n'
     493        u'msg: Bcc: K0000001 <uli@uni.ng>\n'
    493494        u'msg: Reply-To: Manager <contact@waeup.org>\n'
    494495        u'msg: Subject: Test\n'
Note: See TracChangeset for help on using the changeset viewer.