comparison rhodecode/tests/functional/test_files.py @ 951:48896664e987 beta

fixes for issue #104, code rewrites for vcs 0.2
author Marcin Kuzminski <marcin@python-works.com>
date Fri, 21 Jan 2011 01:22:10 +0100
parents 386fe4ce5f97
children 15b60f83420c
comparison
equal deleted inserted replaced
950:343c28c33c19 951:48896664e987
1 from rhodecode.tests import * 1 from rhodecode.tests import *
2 2
3 ARCHIVE_SPECS = { 3 ARCHIVE_SPECS = {
4 '.tar.bz2': ('application/x-tar', 'tbz2', ''), 4 '.tar.bz2': ('application/x-bzip2', 'tbz2', ''),
5 '.tar.gz': ('application/x-tar', 'tgz', ''), 5 '.tar.gz': ('application/x-gzip', 'tgz', ''),
6 '.zip': ('application/zip', 'zip', ''), 6 '.zip': ('application/zip', 'zip', ''),
7 } 7 }
8 8
9 class TestFilesController(TestController): 9 class TestFilesController(TestController):
10 10