diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/git/test_actor.py | 2 | ||||
-rw-r--r-- | test/git/test_blob.py | 2 | ||||
-rw-r--r-- | test/git/test_commit.py | 2 | ||||
-rw-r--r-- | test/git/test_head.py | 2 | ||||
-rw-r--r-- | test/git/test_repo.py | 2 | ||||
-rw-r--r-- | test/git/test_tag.py | 2 | ||||
-rw-r--r-- | test/git/test_tree.py | 2 |
7 files changed, 7 insertions, 7 deletions
diff --git a/test/git/test_actor.py b/test/git/test_actor.py index 3bb92a09..76b0ecc9 100644 --- a/test/git/test_actor.py +++ b/test/git/test_actor.py @@ -21,7 +21,7 @@ class TestActor(object): def test_should_display_representation(self): a = Actor.from_string("Michael Trier <mtrier@example.com>") - assert_equal('<GitPython.Actor "Michael Trier <mtrier@example.com>">', repr(a)) + assert_equal('<git.Actor "Michael Trier <mtrier@example.com>">', repr(a)) def test_str_should_alias_name(self): a = Actor.from_string("Michael Trier <mtrier@example.com>") diff --git a/test/git/test_blob.py b/test/git/test_blob.py index c4d8036c..2f43e82f 100644 --- a/test/git/test_blob.py +++ b/test/git/test_blob.py @@ -86,4 +86,4 @@ class TestBlob(object): def test_should_return_appropriate_representation(self): blob = Blob(self.repo, **{'id': 'abc'}) - assert_equal('<GitPython.Blob "abc">', repr(blob)) + assert_equal('<git.Blob "abc">', repr(blob)) diff --git a/test/git/test_commit.py b/test/git/test_commit.py index ff7458e1..583a5079 100644 --- a/test/git/test_commit.py +++ b/test/git/test_commit.py @@ -218,4 +218,4 @@ class TestCommit(object): def test_repr(self): commit = Commit(self.repo, id='abc') - assert_equal('<GitPython.Commit "abc">', repr(commit)) + assert_equal('<git.Commit "abc">', repr(commit)) diff --git a/test/git/test_head.py b/test/git/test_head.py index d3af3d6b..ecac13c8 100644 --- a/test/git/test_head.py +++ b/test/git/test_head.py @@ -17,7 +17,7 @@ class TestHead(object): head = self.repo.heads[0] - assert_equal('<GitPython.Head "%s">' % head.name, repr(head)) + assert_equal('<git.Head "%s">' % head.name, repr(head)) assert_true(git.called) assert_equal(git.call_args, (('for_each_ref', 'refs/heads'), {'sort': 'committerdate', 'format': '%(refname)%00%(objectname)'})) diff --git a/test/git/test_repo.py b/test/git/test_repo.py index 989dd4fe..669a8f62 100644 --- a/test/git/test_repo.py +++ b/test/git/test_repo.py @@ -256,7 +256,7 @@ class TestRepo(object): def test_repr(self): path = os.path.join(os.path.abspath(GIT_REPO), '.git') - assert_equal('<GitPython.Repo "%s">' % path, repr(self.repo)) + assert_equal('<git.Repo "%s">' % path, repr(self.repo)) @patch(Git, '_call_process') def test_log(self, git): diff --git a/test/git/test_tag.py b/test/git/test_tag.py index 2f915b8d..3d33d7e3 100644 --- a/test/git/test_tag.py +++ b/test/git/test_tag.py @@ -30,7 +30,7 @@ class TestTag(object): git.return_value = fixture('for_each_ref') tag = self.repo.tags[0] - assert_equal('<GitPython.Tag "%s">' % tag.name, repr(tag)) + assert_equal('<git.Tag "%s">' % tag.name, repr(tag)) assert_true(git.called) assert_equal(git.call_args, (('for_each_ref', 'refs/tags'), {'sort': 'committerdate', 'format': '%(refname)%00%(objectname)'})) diff --git a/test/git/test_tree.py b/test/git/test_tree.py index 34aa4d61..fa3337c9 100644 --- a/test/git/test_tree.py +++ b/test/git/test_tree.py @@ -146,4 +146,4 @@ class TestTree(object): def test_repr(self): tree = Tree(self.repo, id='abc') - assert_equal('<GitPython.Tree "abc">', repr(tree)) + assert_equal('<git.Tree "abc">', repr(tree)) |