From a983b6b67099ea78da28a3e0553144000c6ac5fd Mon Sep 17 00:00:00 2001 From: Alfredo Deza Date: Fri, 12 Dec 2014 13:53:43 -0500 Subject: [PATCH] fix broken/commented tests Signed-off-by: Alfredo Deza --- s3tests/tests/test_realistic.py | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/s3tests/tests/test_realistic.py b/s3tests/tests/test_realistic.py index 9b313c9..db00948 100644 --- a/s3tests/tests/test_realistic.py +++ b/s3tests/tests/test_realistic.py @@ -40,13 +40,11 @@ class TestFiles(object): t = tempfile.SpooledTemporaryFile() shutil.copyfileobj(source, t) precomputed = realistic.PrecomputedContentFile(t) - assert precomputed.valid() - #verifier = realistic.FileVerifier() - #shutil.copyfileobj(precomputed, verifier) + verifier = realistic.FileVerifier() + shutil.copyfileobj(precomputed, verifier) - #assert verifier.valid() - #assert 0 + assert verifier.valid() # new implementation