[Python-modules-commits] [guessit] 02/07: Skip tests that need the '1MB' file
Etienne Millon
emillon-guest at moszumanska.debian.org
Sun Nov 22 18:39:30 UTC 2015
This is an automated email from the git hooks/post-receive script.
emillon-guest pushed a commit to branch master
in repository guessit.
commit dce2eb4b966def3b5a8e8ea50c82cad7334b171f
Author: Etienne Millon <me at emillon.org>
Date: Thu Oct 8 09:15:27 2015 -0700
Skip tests that need the '1MB' file
In the git repository, there is a file named '1MB' (of the same size) on which
some tests are done. It is omitted from the tarball, so these tests fail.
They are not indispensable, so it's better to skip them than to make a bigger
tarball.
Forwarded: not-needed
Last-Update: 2014-03-04
Patch-Name: test_hash.patch
---
guessit/test/test_hashes.py | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/guessit/test/test_hashes.py b/guessit/test/test_hashes.py
index c6a5c35..3af7454 100644
--- a/guessit/test/test_hashes.py
+++ b/guessit/test/test_hashes.py
@@ -26,10 +26,10 @@ from guessit.test.guessittest import *
class TestHashes(TestGuessit):
def test_hashes(self):
hashes = (
- ('hash_mpc', '1MB', u'8542ad406c15c8bd'), # TODO: Check if this value is valid
- ('hash_ed2k', '1MB', u'ed2k://|file|1MB|1048576|AA3CC5552A9931A76B61A41D306735F7|/'), # TODO: Check if this value is valid
- ('hash_md5', '1MB', u'5d8dcbca8d8ac21766f28797d6c3954c'),
- ('hash_sha1', '1MB', u'51d2b8f3248d7ee495b7750c8da5aa3b3819de9d'),
+# ('hash_mpc', '1MB', u'8542ad406c15c8bd'), # TODO: Check if this value is valid
+# ('hash_ed2k', '1MB', u'ed2k://|file|1MB|1048576|AA3CC5552A9931A76B61A41D306735F7|/'), # TODO: Check if this value is valid
+# ('hash_md5', '1MB', u'5d8dcbca8d8ac21766f28797d6c3954c'),
+# ('hash_sha1', '1MB', u'51d2b8f3248d7ee495b7750c8da5aa3b3819de9d'),
('hash_md5', 'dummy.srt', u'64de6b5893cac24456c46a935ef9c359'),
('hash_sha1', 'dummy.srt', u'a703fc0fa4518080505809bf562c6fc6f7b3c98c')
)
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/guessit.git
More information about the Python-modules-commits
mailing list