From 511eda8eda5486ae7ea0ac685197d009164425f7 Mon Sep 17 00:00:00 2001 From: Philipp Hagemeister Date: Tue, 1 Jan 2013 21:01:49 +0100 Subject: add test for infoq --- test/test_download.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'test/test_download.py') diff --git a/test/test_download.py b/test/test_download.py index 8b9b83373..4a59f6638 100644 --- a/test/test_download.py +++ b/test/test_download.py @@ -90,7 +90,8 @@ def generator(test_case): fd.download([test_case['url']]) for tc in test_cases: - self.assertTrue(os.path.exists(tc['file'])) + if not test_case.get('params', {}).get('skip_download', False): + self.assertTrue(os.path.exists(tc['file'])) self.assertTrue(os.path.exists(tc['file'] + '.info.json')) if 'md5' in tc: md5_for_file = _file_md5(tc['file']) -- cgit v1.2.3