Test that a single dot is properly escaped in SMTP protocol
(acfactory, lp)
| 350 | |
| 351 | |
| 352 | def test_send_dot(acfactory, lp): |
| 353 | """Test that a single dot is properly escaped in SMTP protocol""" |
| 354 | ac1, ac2 = acfactory.get_online_accounts(2) |
| 355 | chat = acfactory.get_accepted_chat(ac1, ac2) |
| 356 | |
| 357 | lp.sec("sending message") |
| 358 | msg_out = chat.send_text(".") |
| 359 | |
| 360 | lp.sec("receiving message") |
| 361 | msg_in = ac2._evtracker.wait_next_incoming_message() |
| 362 | assert msg_in.text == msg_out.text |
| 363 | |
| 364 | |
| 365 | def test_send_and_receive_message_markseen(acfactory, lp): |
nothing calls this directly
no test coverage detected