Skip to content

Commit

Permalink
chg: dev: made test directory a package and using relative import…
Browse files Browse the repository at this point in the history
…. !minor
  • Loading branch information
vaab committed Feb 22, 2017
1 parent 70529cf commit 7c6b7f1
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 8 deletions.
2 changes: 2 additions & 0 deletions test/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# -*- encoding: utf-8 -*-

2 changes: 1 addition & 1 deletion test/test_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
import glob
import os.path

from common import BaseGitReposTest, BaseTmpDirTest, w, cmd
from .common import BaseGitReposTest, BaseTmpDirTest, w, cmd
from gitchangelog.gitchangelog import indent


Expand Down
4 changes: 1 addition & 3 deletions test/test_issue52.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,7 @@

from __future__ import unicode_literals

import difflib

from common import BaseGitReposTest, w
from .common import BaseGitReposTest, w


class TestNoTagWarn(BaseGitReposTest):
Expand Down
2 changes: 1 addition & 1 deletion test/test_issue54.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

from __future__ import unicode_literals

from common import BaseGitReposTest, cmd, file_put_contents
from .common import BaseGitReposTest, cmd, file_put_contents


class TestConfigComplains(BaseGitReposTest):
Expand Down
2 changes: 1 addition & 1 deletion test/test_issue61.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

import difflib

from common import BaseGitReposTest, w, cmd, file_put_contents
from .common import BaseGitReposTest, w, cmd, file_put_contents


class TestRevsBadFormat(BaseGitReposTest):
Expand Down
2 changes: 1 addition & 1 deletion test/test_pr14.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

import difflib

from common import BaseGitReposTest, w
from .common import BaseGitReposTest, w


class TestCrossBranchTags(BaseGitReposTest):
Expand Down
2 changes: 1 addition & 1 deletion test/test_pr23.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

import difflib

from common import BaseGitReposTest, w
from .common import BaseGitReposTest, w


class TestCrossBranchTags(BaseGitReposTest):
Expand Down

0 comments on commit 7c6b7f1

Please sign in to comment.