Mercurial > kallithea
changeset 5052:9dd17228c0dc
tests: avoid 'import *' in api tests
author | Ronny Pfannschmidt <opensource@ronnypfannschmidt.de> |
---|---|
date | Wed, 22 Apr 2015 01:10:29 +0200 |
parents | 12ae08b2fe3f |
children | c5829bc7d090 |
files | kallithea/tests/api/test_api_git.py kallithea/tests/api/test_api_hg.py |
diffstat | 2 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/kallithea/tests/api/test_api_git.py Tue Apr 21 08:35:36 2015 -0700 +++ b/kallithea/tests/api/test_api_git.py Wed Apr 22 01:10:29 2015 +0200 @@ -12,7 +12,7 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. -from kallithea.tests import * +from kallithea.tests import TestController, GIT_REPO from kallithea.tests.api.api_base import _BaseTestApi
--- a/kallithea/tests/api/test_api_hg.py Tue Apr 21 08:35:36 2015 -0700 +++ b/kallithea/tests/api/test_api_hg.py Wed Apr 22 01:10:29 2015 +0200 @@ -12,7 +12,7 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. -from kallithea.tests import * +from kallithea.tests import TestController, HG_REPO from kallithea.tests.api.api_base import _BaseTestApi