From c4efe43d4e1c0986fdb48db8847952a706118561 Mon Sep 17 00:00:00 2001 From: Guillaume Binet Date: Tue, 4 Jul 2017 16:46:11 -0400 Subject: [PATCH] Test miss :wq --- tests/base_backend_test.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/tests/base_backend_test.py b/tests/base_backend_test.py index 38dbc44e1..d61be7eed 100644 --- a/tests/base_backend_test.py +++ b/tests/base_backend_test.py @@ -251,7 +251,8 @@ def test_buildreply(dummy_backend): assert str(resp.to) == 'user' assert str(resp.frm) == 'err' assert str(resp.body) == 'Response' - assert str(resp.parent) is None + assert resp.parent is None + def test_buildreply_with_parent(dummy_backend): m = dummy_backend.build_message('Content') @@ -259,7 +260,8 @@ def test_buildreply_with_parent(dummy_backend): m.to = dummy_backend.build_identifier('somewhere') resp = dummy_backend.build_reply(m, 'Response', threaded=True) - assert str(resp.parent) is not None + assert resp.parent is not None + def test_bot_admins_unique_string(): dummy = DummyBackend(extra_config={'BOT_ADMINS': 'err@localhost'})