diff options
Diffstat (limited to 'tests/server/test_incoming_server.py')
-rw-r--r-- | tests/server/test_incoming_server.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/server/test_incoming_server.py b/tests/server/test_incoming_server.py index 8c22b13b..42637c87 100644 --- a/tests/server/test_incoming_server.py +++ b/tests/server/test_incoming_server.py @@ -18,7 +18,6 @@ Integration tests for incoming API """ import pytest -import json from io import BytesIO from uuid import uuid4 from twisted.web.test.test_web import DummyRequest @@ -86,8 +85,7 @@ class IncomingOnCouchServerTestCase(CouchDBTestCase): db = self.state.open_database(user_id) request = DummyRequest([user_id, doc_id]) yield db.read_blob(user_id, doc_id, request, 'MX') - flags = db.get_flags(user_id, doc_id, request, 'MX') - flags = json.loads(flags) + flags = db.get_flags(user_id, doc_id, 'MX') expected_preamble = formatter.preamble(content, doc_id) expected_preamble = decode_preamble(expected_preamble, True) written_preamble, written_content = request.written[0].split() |