Changeset - a5746b83123f
[Not reviewed]
beta
5 1 6
Marcin Kuzminski - 13 years ago 2013-05-08 18:06:22
marcin@python-works.com
moved top-level tests to rhodecode/tests/other.

- There are no toplevel tests
- moved proper files to fixtures where they should be in the first place
7 files changed with 2 insertions and 3 deletions:
0 comments (0 inline, 0 general)
rhodecode/lib/utils.py
Show inline comments
 
@@ -657,12 +657,12 @@ def create_test_env(repos_test_path, con
 

	
 
    #CREATE DEFAULT TEST REPOS
 
    cur_dir = dn(dn(abspath(__file__)))
 
    tar = tarfile.open(jn(cur_dir, 'tests', "vcs_test_hg.tar.gz"))
 
    tar = tarfile.open(jn(cur_dir, 'tests', 'fixtures', "vcs_test_hg.tar.gz"))
 
    tar.extractall(jn(TESTS_TMP_PATH, HG_REPO))
 
    tar.close()
 

	
 
    cur_dir = dn(dn(abspath(__file__)))
 
    tar = tarfile.open(jn(cur_dir, 'tests', "vcs_test_git.tar.gz"))
 
    tar = tarfile.open(jn(cur_dir, 'tests', 'fixtures', "vcs_test_git.tar.gz"))
 
    tar.extractall(jn(TESTS_TMP_PATH, GIT_REPO))
 
    tar.close()
 

	
rhodecode/tests/fixtures/vcs_test_git.tar.gz
Show inline comments
 
file renamed from rhodecode/tests/vcs_test_git.tar.gz to rhodecode/tests/fixtures/vcs_test_git.tar.gz
rhodecode/tests/fixtures/vcs_test_hg.tar.gz
Show inline comments
 
file renamed from rhodecode/tests/vcs_test_hg.tar.gz to rhodecode/tests/fixtures/vcs_test_hg.tar.gz
rhodecode/tests/other/__init__.py
Show inline comments
 
new file 100644
rhodecode/tests/other/test_libs.py
Show inline comments
 
file renamed from rhodecode/tests/test_libs.py to rhodecode/tests/other/test_libs.py
rhodecode/tests/other/test_validators.py
Show inline comments
 
file renamed from rhodecode/tests/test_validators.py to rhodecode/tests/other/test_validators.py
 
@@ -9,7 +9,6 @@ from rhodecode.model.users_group import 
 

	
 
from rhodecode.model.meta import Session
 
from rhodecode.model.repos_group import ReposGroupModel
 
from rhodecode.config.routing import ADMIN_PREFIX
 
from rhodecode.model.db import ChangesetStatus, Repository
 
from rhodecode.model.changeset_status import ChangesetStatusModel
 
from rhodecode.tests.fixture import Fixture
rhodecode/tests/other/test_vcs_operations.py
Show inline comments
 
file renamed from rhodecode/tests/scripts/test_vcs_operations.py to rhodecode/tests/other/test_vcs_operations.py
0 comments (0 inline, 0 general)