Mercurial > kallithea
comparison rhodecode/tests/fixture.py @ 4186:7e5f8c12a3fc kallithea-2.2.5-rebrand
First step in two-part process to rename directories to kallithea.
This first step is to change all references in the files where they refer
to the old directory name.
author | Bradley M. Kuhn <bkuhn@sfconservancy.org> |
---|---|
date | Wed, 02 Jul 2014 19:04:28 -0400 |
parents | da3c57422ee6 |
children |
comparison
equal
deleted
inserted
replaced
4185:aaa7c3331186 | 4186:7e5f8c12a3fc |
---|---|
15 """ | 15 """ |
16 Helpers for fixture generation | 16 Helpers for fixture generation |
17 """ | 17 """ |
18 import os | 18 import os |
19 import time | 19 import time |
20 from rhodecode.tests import * | 20 from kallithea.tests import * |
21 from rhodecode.model.db import Repository, User, RepoGroup, UserGroup | 21 from kallithea.model.db import Repository, User, RepoGroup, UserGroup |
22 from rhodecode.model.meta import Session | 22 from kallithea.model.meta import Session |
23 from rhodecode.model.repo import RepoModel | 23 from kallithea.model.repo import RepoModel |
24 from rhodecode.model.user import UserModel | 24 from kallithea.model.user import UserModel |
25 from rhodecode.model.repo_group import RepoGroupModel | 25 from kallithea.model.repo_group import RepoGroupModel |
26 from rhodecode.model.user_group import UserGroupModel | 26 from kallithea.model.user_group import UserGroupModel |
27 from rhodecode.model.gist import GistModel | 27 from kallithea.model.gist import GistModel |
28 | 28 |
29 dn = os.path.dirname | 29 dn = os.path.dirname |
30 FIXTURES = os.path.join(dn(dn(os.path.abspath(__file__))), 'tests', 'fixtures') | 30 FIXTURES = os.path.join(dn(dn(os.path.abspath(__file__))), 'tests', 'fixtures') |
31 | 31 |
32 | 32 |