summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/client/test_crypto.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/client/test_crypto.py b/tests/client/test_crypto.py
index 8a040cd4..db095738 100644
--- a/tests/client/test_crypto.py
+++ b/tests/client/test_crypto.py
@@ -128,7 +128,7 @@ class BlobTestCase(unittest.TestCase):
@defer.inlineCallbacks
def test_get_unarmored_ciphertext_size(self):
- for size_to_test in xrange(-1, 400):
+ for size_to_test in xrange(20): # test from 0 to above tag size
test_content = '\x00' * size_to_test
size = _crypto.get_unarmored_ciphertext_size(len(test_content))
inf = BytesIO(test_content)