summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVictor Shyba <victor1984@riseup.net>2017-03-27 21:24:49 -0300
committerdrebs <drebs@leap.se>2017-04-04 18:27:39 +0200
commitd7d830a6a83572eea4620089e6600c23179c2ca4 (patch)
tree7f995fc0e0714a9ae1649c968551574953e60895
parent626aeb1cc030b71ac2f770fefe063fddd35cc7a5 (diff)
[style] naming improvements
-rw-r--r--testing/tests/blobs/test_blobs.py2
-rw-r--r--testing/tests/blobs/test_fs_backend.py2
-rw-r--r--testing/tests/blobs/test_local_backend.py4
-rw-r--r--testing/tests/server/test_blobs_server.py4
4 files changed, 6 insertions, 6 deletions
diff --git a/testing/tests/blobs/test_blobs.py b/testing/tests/blobs/test_blobs.py
index 4efd7115..5b210bb2 100644
--- a/testing/tests/blobs/test_blobs.py
+++ b/testing/tests/blobs/test_blobs.py
@@ -1,5 +1,5 @@
# -*- coding: utf-8 -*-
-# test_crypto.py
+# test_blobs.py
# Copyright (C) 2017 LEAP
#
# This program is free software: you can redistribute it and/or modify
diff --git a/testing/tests/blobs/test_fs_backend.py b/testing/tests/blobs/test_fs_backend.py
index 5be6c17d..a2a374c6 100644
--- a/testing/tests/blobs/test_fs_backend.py
+++ b/testing/tests/blobs/test_fs_backend.py
@@ -1,5 +1,5 @@
# -*- coding: utf-8 -*-
-# test_crypto.py
+# test_fs_backend.py
# Copyright (C) 2017 LEAP
#
# This program is free software: you can redistribute it and/or modify
diff --git a/testing/tests/blobs/test_local_backend.py b/testing/tests/blobs/test_local_backend.py
index 79f433fe..9dd5bb04 100644
--- a/testing/tests/blobs/test_local_backend.py
+++ b/testing/tests/blobs/test_local_backend.py
@@ -1,5 +1,5 @@
# -*- coding: utf-8 -*-
-# test_crypto.py
+# test_local_backend.py
# Copyright (C) 2017 LEAP
#
# This program is free software: you can redistribute it and/or modify
@@ -26,7 +26,7 @@ import pytest
import os
-class SQLCipherBlobsClientTestCase(unittest.TestCase):
+class BlobManagerTestCase(unittest.TestCase):
class doc_info:
doc_id = 'D-deadbeef'
diff --git a/testing/tests/server/test_blobs_server.py b/testing/tests/server/test_blobs_server.py
index 367a31cc..22ecb3cd 100644
--- a/testing/tests/server/test_blobs_server.py
+++ b/testing/tests/server/test_blobs_server.py
@@ -1,5 +1,5 @@
# -*- coding: utf-8 -*-
-# test_crypto.py
+# test_blobs_server.py
# Copyright (C) 2017 LEAP
#
# This program is free software: you can redistribute it and/or modify
@@ -53,7 +53,7 @@ class BlobServerTestCase(unittest.TestCase):
@defer.inlineCallbacks
@pytest.mark.usefixtures("method_tmpdir")
- def test_upload_list(self):
+ def test_upload_changes_remote_list(self):
manager = BlobManager('', self.uri, self.secret,
self.secret, 'user')
yield manager._encrypt_and_upload('blob_id1', '1', '1', BytesIO("1"))