summaryrefslogtreecommitdiff
path: root/testing
diff options
context:
space:
mode:
authorVictor Shyba <victor1984@riseup.net>2017-05-01 04:19:44 -0300
committerVictor Shyba <victor1984@riseup.net>2017-05-01 04:19:44 -0300
commita1899b45442bc20ea0fe485e7b317521c53672f8 (patch)
tree5b07b10e68d4e764c5bb2b99143a1da5f7ba9306 /testing
parent967c91c5bb7ecca3575c6ef7d0fb4461de4dafc7 (diff)
[test] rename and add comments for clarity
- Related: #8812
Diffstat (limited to 'testing')
-rw-r--r--testing/tests/blobs/test_blobs.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/testing/tests/blobs/test_blobs.py b/testing/tests/blobs/test_blobs.py
index c99cc572..288c9975 100644
--- a/testing/tests/blobs/test_blobs.py
+++ b/testing/tests/blobs/test_blobs.py
@@ -15,7 +15,8 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
"""
-Tests for blobs handling.
+Tests for blobs decrypter buffer. A component which is used as a decryption
+sink during blob stream download.
"""
from twisted.trial import unittest
from twisted.internet import defer
@@ -25,7 +26,7 @@ from io import BytesIO
from mock import Mock
-class BlobTestCase(unittest.TestCase):
+class DecrypterBufferCase(unittest.TestCase):
class doc_info:
doc_id = 'D-BLOB-ID'
@@ -49,7 +50,7 @@ class BlobTestCase(unittest.TestCase):
self.assertEquals(fd.getvalue(), 'rosa de foc')
@defer.inlineCallbacks
- def test_blob_manager_encrypted_upload(self):
+ def test_decrypt_uploading_encrypted_blob(self):
@defer.inlineCallbacks
def _check_result(uri, data, *args, **kwargs):