fix broken/commented tests

Signed-off-by: Alfredo Deza <alfredo@deza.pe>
This commit is contained in:
Alfredo Deza 2014-12-12 13:53:43 -05:00
parent cad6547eb0
commit a983b6b670

View file

@ -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