summaryrefslogtreecommitdiff
path: root/testing
diff options
context:
space:
mode:
Diffstat (limited to 'testing')
-rw-r--r--testing/tests/client/test_attachments.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/testing/tests/client/test_attachments.py b/testing/tests/client/test_attachments.py
index ad4595e9..2df5b90d 100644
--- a/testing/tests/client/test_attachments.py
+++ b/testing/tests/client/test_attachments.py
@@ -62,13 +62,13 @@ class AttachmentTests(BaseSoledadTest):
self.assertEqual('test', fd.read())
@defer.inlineCallbacks
- def test_attachment_state(self):
+ def test_get_attachment_state(self):
doc = yield self._soledad.create_doc({})
- state = yield doc.attachment_state()
+ state = yield doc.get_attachment_state()
self.assertEqual(AttachmentStates.NONE, state)
mock_response(doc)
yield doc.put_attachment(BytesIO('test'))
- state = yield doc.attachment_state()
+ state = yield doc.get_attachment_state()
self.assertEqual(AttachmentStates.LOCAL, state)
@defer.inlineCallbacks