From 1fd6ddad71a2f95f254172dbdd176f06da15d9cb Mon Sep 17 00:00:00 2001 From: Guido Günther Date: Fri, 28 Oct 2011 18:40:25 +0200 Subject: GitRepository: rename base_dir to git_dir since that's where it points to. --- tests/test_GitRepository.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tests') diff --git a/tests/test_GitRepository.py b/tests/test_GitRepository.py index 404eb3a3..1aa98a19 100644 --- a/tests/test_GitRepository.py +++ b/tests/test_GitRepository.py @@ -24,13 +24,13 @@ def test_create(): Propeties tested: - L{gbp.git.GitRepository.path} - - L{gbp.git.GitRepository.base_dir} + - L{gbp.git.GitRepository.git_dir} >>> import os, gbp.git >>> repo = gbp.git.GitRepository.create(repo_dir) >>> repo.path == repo_dir True - >>> repo.base_dir == os.path.join(repo_dir, '.git') + >>> repo.git_dir == os.path.join(repo_dir, '.git') True >>> type(repo) == gbp.git.GitRepository True @@ -331,7 +331,7 @@ def test_create_bare(): >>> bare = gbp.git.GitRepository.create(bare_dir, bare=True, description="msg") >>> bare.path == bare_dir True - >>> bare.base_dir[:-1] == bare_dir + >>> bare.git_dir[:-1] == bare_dir True >>> type(bare) == gbp.git.GitRepository True -- cgit v1.2.3