##// END OF EJS Templates
pytest: Update docstrings to reflect changes.
Martin Bornhold -
r216:3ec05fb7 default
parent child Browse files
Show More
@@ -703,20 +703,7 b' def get_custom_lexer(extension):'
703 703 #==============================================================================
704 704 def create_test_index(repo_location, config):
705 705 """
706 Makes default test index
707
708 :param config: test config
709 :param full_index:
710 # start test server:
711 rcserver --with-vcsserver test.ini
712
713 # build index and store it in /tmp/rc/index:
714 rhodecode-index --force --api-host=http://vps1.dev:5000 --api-key=xxx --engine-location=/tmp/rc/index
715
716 # package and move new packages
717 tar -zcvf vcs_search_index.tar.gz -C /tmp/rc index
718 mv vcs_search_index.tar.gz rhodecode/tests/fixtures/
719
706 Makes default test index.
720 707 """
721 708 import rc_testdata
722 709
@@ -726,7 +713,7 b' def create_test_index(repo_location, con'
726 713
727 714 def create_test_directory(test_path):
728 715 """
729 create test dir if it doesn't exist
716 Create test directory if it doesn't exist.
730 717 """
731 718 if not os.path.isdir(test_path):
732 719 log.debug('Creating testdir %s', test_path)
General Comments 0
You need to be logged in to leave comments. Login now