core: avoid using rhodecode.test packages inside main packages as tests are removed during build which can cause some problems in some edge case calls
This commit is contained in:
parent
b6b0974b8c
commit
2b623ea7f2
5 changed files with 106 additions and 38 deletions
41
rhodecode/bootstrap.py
Normal file
41
rhodecode/bootstrap.py
Normal file
|
|
@ -0,0 +1,41 @@
|
|||
# Copyright (C) 2010-2024 RhodeCode GmbH
|
||||
#
|
||||
# This program is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Affero General Public License, version 3
|
||||
# (only), as published by the Free Software Foundation.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU Affero General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
# This program is dual-licensed. If you wish to learn more about the
|
||||
# RhodeCode Enterprise Edition, including its added features, Support services,
|
||||
# and proprietary license terms, please see https://rhodecode.com/licenses/
|
||||
|
||||
# bootstrap data available for tests and setup clean install
|
||||
|
||||
TEST_USER_ADMIN_LOGIN = 'test_admin'
|
||||
TEST_USER_ADMIN_PASS = 'test12'
|
||||
TEST_USER_ADMIN_EMAIL = 'test_admin@mail.com'
|
||||
|
||||
TEST_USER_REGULAR_LOGIN = 'test_regular'
|
||||
TEST_USER_REGULAR_PASS = 'test12'
|
||||
TEST_USER_REGULAR_EMAIL = 'test_regular@mail.com'
|
||||
|
||||
TEST_USER_REGULAR2_LOGIN = 'test_regular2'
|
||||
TEST_USER_REGULAR2_PASS = 'test12'
|
||||
TEST_USER_REGULAR2_EMAIL = 'test_regular2@mail.com'
|
||||
|
||||
HG_REPO = 'vcs_test_hg'
|
||||
GIT_REPO = 'vcs_test_git'
|
||||
SVN_REPO = 'vcs_test_svn'
|
||||
|
||||
NEW_HG_REPO = 'vcs_test_hg_new'
|
||||
NEW_GIT_REPO = 'vcs_test_git_new'
|
||||
|
||||
HG_FORK = 'vcs_test_hg_fork'
|
||||
GIT_FORK = 'vcs_test_git_fork'
|
||||
Loading…
Add table
Add a link
Reference in a new issue