summaryrefslogtreecommitdiff
path: root/testing
diff options
context:
space:
mode:
authorVictor Shyba <victor1984@riseup.net>2017-07-25 05:51:37 -0300
committerVictor Shyba <victor1984@riseup.net>2017-08-03 05:33:01 -0300
commit7007606e2fc10a836bb52ef3eb40db8b15f3c4ac (patch)
treea98f82bb148d61d460266961d1324f96ae637cb1 /testing
parent639d86626b8e519a966578b48b77c68f7076be35 (diff)
[bug] separate preamble from content on incoming resource
Diffstat (limited to 'testing')
-rw-r--r--testing/tests/server/test_incoming_server.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/testing/tests/server/test_incoming_server.py b/testing/tests/server/test_incoming_server.py
index 55eb8931..241bc581 100644
--- a/testing/tests/server/test_incoming_server.py
+++ b/testing/tests/server/test_incoming_server.py
@@ -87,6 +87,6 @@ class IncomingOnCouchServerTestCase(CouchDBTestCase):
yield db.read_blob(user_id, doc_id, request, 'MX')
flags = db.get_flags(user_id, doc_id, request, 'MX')
flags = json.loads(flags)
- expected = formatter.preamble(content, doc_id) + content
+ expected = formatter.preamble(content, doc_id) + ' ' + content
self.assertEquals(expected, request.written[0])
self.assertIn(Flags.PENDING, flags)