comparison rhodecode/lib/utils.py @ 2451:402a96fcfa22 beta

Added vcs testsuite for better integration tests + added fetching of two new repos into test env for rhodecode
author Marcin Kuzminski <marcin@python-works.com>
date Wed, 13 Jun 2012 23:27:33 +0200
parents bc2d8c03c050
children 9492ab68331f
comparison
equal deleted inserted replaced
2450:26193dba1f0e 2451:402a96fcfa22
597 cur_dir = dn(dn(abspath(__file__))) 597 cur_dir = dn(dn(abspath(__file__)))
598 tar = tarfile.open(jn(cur_dir, 'tests', "vcs_test_hg.tar.gz")) 598 tar = tarfile.open(jn(cur_dir, 'tests', "vcs_test_hg.tar.gz"))
599 tar.extractall(jn(TESTS_TMP_PATH, HG_REPO)) 599 tar.extractall(jn(TESTS_TMP_PATH, HG_REPO))
600 tar.close() 600 tar.close()
601 601
602 #LOAD VCS test stuff
603 from rhodecode.tests.vcs import setup_package
604 setup_package()
605
602 606
603 #============================================================================== 607 #==============================================================================
604 # PASTER COMMANDS 608 # PASTER COMMANDS
605 #============================================================================== 609 #==============================================================================
606 class BasePasterCommand(Command): 610 class BasePasterCommand(Command):